Hi there,
I have got an issue with CKEditor 3.5 (haven't checked earlier versions) with the option enterMode set to CKEDITOR.ENTER_BR.
1. In the empty WYSIWYG editor, type "test"; the generated HTML is "test"
2. Delete the text in the WYSIWYG editor by any mean (pressing backspace, delete, Ctrl+X, it does not matter)
3. Type "test"; the generated HTML is
<p> test</p>
Why does CKEditor automatically inserts a paragraph when deleting the text? I would not expect this behaviour. Is there any way/fix/workaround/hack to prevent this?
Note that this issue has been raised by "Protractus" in this post http://cksource.com/forums/viewtopic.php?f=11&t=18520&p=51461&hilit=backspace+add+paragraph#p51461, but it has not been answered:
Changing the enterMode to 'br' helps in that way that you can click in an empty text window without <p> directly being executed. However if you type a few characters and press backspace intill they all are erased you will see the <p> coming up. This happens only in IE.