The problem is that, sometimes when people copy paste text from web or word inside ck editor - the html markup gets pasted too, and it can mess with the layout, when the text is being displayed on a page.
Lets say when you view the source and find some unwanted div tags, you remove them manually, but forget to remove one closing </div> ... - that will destroy your layout.
Is there a way to tell ck editor to remove all opening and closing <div> tags?
Thanks
Lets say when you view the source and find some unwanted div tags, you remove them manually, but forget to remove one closing </div> ... - that will destroy your layout.
Is there a way to tell ck editor to remove all opening and closing <div> tags?
Thanks
Re: Is it possible to remove all<div> tags?
As far as know it's not an option right now, unless you use the plain text option, remove the tags yourself, paste the code in notepad then in the editor, or use a program like Notepad++. But it's something being considered. Something similar was posted in our dev site. Granted, the options in the link are more elaborate but I guess divs could be included.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!