Changes between Initial Version and Version 1 of Ticket #11252, comment 1
- Timestamp:
- Oct 17, 2014, 12:58:09 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11252, comment 1
initial v1 1 I encountered this bug too (in 4.4.5). I implemented the following fix for myself: 1 I encountered this bug too (in 4.4.5). This is easy to reproduce even with the simplebox sample widget, if the editor also has the "div" plugin active. Click the toolbar button for the simplebox to create one, then in the document, right-click on the "Content..." part of the simplebox. The context menu contains "Edit Div" and "Remove Div", which it shouldn't. 2 3 I implemented the following fix for myself. 2 4 3 5 In /ckeditor/plugins/div/plugins.js, the if-condition on line 103: 4 6 5 Before:7 Original: 6 8 {{{ 7 9 if ( CKEDITOR.plugins.div.getSurroundDiv( editor ) ) { … … 10 12 }}} 11 13 12 After:14 My change: 13 15 {{{ 14 16 var surroundDiv = CKEDITOR.plugins.div.getSurroundDiv(editor);