Changes between Initial Version and Version 1 of Ticket #11252, comment 1


Ignore:
Timestamp:
Oct 17, 2014, 12:58:09 PM (6 years ago)
Author:
jhub
Comment:

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:
     1I 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
     3I implemented the following fix for myself.
    24
    35In /ckeditor/plugins/div/plugins.js, the if-condition on line 103:
    46
    5 Before:
     7Original:
    68{{{
    79if ( CKEDITOR.plugins.div.getSurroundDiv( editor ) ) {
     
    1012}}}
    1113
    12 After:
     14My change:
    1315{{{
    1416var surroundDiv = CKEDITOR.plugins.div.getSurroundDiv(editor);
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy