CKEditor 3.6.2 (revision 7275)
If I use the source editor and put this code in it.
Then I switch to the wysiwyg editor the code has been changed to this.
How do I turn this behavior off? Can I just disable all source editor formatting?
I have tried adding this to the config.js:
FormatSource:false,
FormatOutput:false,
No luck so far.
If I use the source editor and put this code in it.
<div><a href=""></a></div>
Then I switch to the wysiwyg editor the code has been changed to this.
<div></div>
How do I turn this behavior off? Can I just disable all source editor formatting?
I have tried adding this to the config.js:
FormatSource:false,
FormatOutput:false,
No luck so far.
Re: Source Formatting Issue
That's how CKEditor works. It removed empty elements. Here's a similar ticket about it.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!