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.
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
Post a Comment