CKEditor, how to delete empty paragraphs before and between widgets -


if have empty paragraph before widget, cannot deleted, nor can empty paragraph after, or between widgets deleted, except viewing source.

this evident on ckeditor demo page here: http://ckeditor.com/demo#widgets

simply clear content start, add paragraph, add widget, , try remove first paragraph.

note in configuration not filling empty paragraphs non-breaking space, , same behavior, doesn't seem related. enter image description here

this create problem content management system.

this known issue, there's no patch yet. require additional rules delete , backspace, if current paragraph empty should remove instead of focusing widget. code land e.g. here: https://github.com/ckeditor/ckeditor-dev/blob/3a10930/core/selection.js#l339-l365.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -