Opened 11 years ago
Last modified 11 years ago
#12110 closed Bug
[PR#104] Editor crash after deleting a table. — at Initial Version
Reported by: | Piotr Jasiun | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.3 |
Component: | General | Version: | 4.0 Beta |
Keywords: | Cc: | mike@… |
Description
Scenario:
- Have an inline initialized editor
- In that editor add a table and ensure that it is the sole element in the editable container (nothing before and nothing after)
- Use the contextual menu to delete the table
- The editor is no longer working :(
Note: This can be reproduced also on the demo site: http://ckeditor.com/demo#inline
The fix: Just added a check to not remove the parent element of the table if that parent is the container.