Log in or register to post comments
Last post
Source Formatting Issue
CKEditor 3.6.2 (revision 7275)

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.