I have some custom tags inside my HTML.
Like . I want to copy this whole tag and paste the same. When i try
Too long to be a comment. I'm not sure that this method will work - depends on how the copy&paste events work. I suggestion that you listen to the "paste" event and during the paste you convert the incoming elements from Then when before saving your content you examine the data from CKEditor and convert the elements back to their original statuses. The algorithm might look like this: You can do that in the fronted or the backend, most likely either will have tools available for this kind of operation. I'm guessing that fronted will be easier though. to for example