I use CKEditor with enterMode = CKEDITOR.ENTER_DIV to correct some problems with the margin of p tag with the email reader like Hotmail.
The div plugin create div inside the 'enter' created div;
<div name="CreatedWithEnterKey">
<div name="CreatedWithDivPluggin">Text
</div>
</div>
When I use de contextual menu to edit or delete the new created div, the div edited or deleted is "CreatedWithEnterKey". It's the good behavior.
The problem is only at the creation level. I compared using enterMode = CKEDITOR.ENTER_P and the I don't see the problem. The new div is created outside the p tag.
I'm not a javascript expert and the problem don't seen to be complicated to correct. If someone have a patch for this plugin I realy appreciate?
Thank you
The problem is that what you
The problem is that what you do is simply a bad practice. We actually even list it here: http://docs.ckeditor.com/#!/guide/dev_best_practices-section-configuration
ENTER_DIV is not a way to control styling issues and what you attempt to do is simply wrong.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!