Hi,
I've set enterMode to <p> in config.js as below,
But when pressing enter in editor, the new created paragraph is always added with a useless <br> like below. I tried with both Chrome3.0 and Firefox 3.5 under CKEditor 3.0.1, the same issue.
Is it working as design or a CK bug? Or could someone please let me know how to remove the <br/> to just create an empty <p>?
Thanks for any help.
Regards,
Smimigo
I've set enterMode to <p> in config.js as below,
config.enterMode=CKEDITOR.ENTER_P
But when pressing enter in editor, the new created paragraph is always added with a useless <br> like below. I tried with both Chrome3.0 and Firefox 3.5 under CKEditor 3.0.1, the same issue.
<p><br/></p>
Is it working as design or a CK bug? Or could someone please let me know how to remove the <br/> to just create an empty <p>?
Thanks for any help.
Regards,
Smimigo
Re: Is there a easy way to remove <br/> from new created
Not quite understand why doing this, appendBogus() will insert <BR> to the last of newBlock if current browser is not Opera, otherwise insert "". Could someone help to explain what is this used for? Many thanks.