Skip to content

Commit

Permalink
fixed tableselection if ckeditor is inside table
Browse files Browse the repository at this point in the history
  • Loading branch information
markussc committed Oct 4, 2018
1 parent 7157fa5 commit 1a92102
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/tableselection/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@
editor.fire( 'lockSnapshot' );

for ( i = 0; i < cells.length; i++ ) {
if ( !cells[ i].parent().hasClass("cke_editable")) {
continue;
}
cells[ i ].addClass( fakeSelectedClass );
}

Expand Down

0 comments on commit 1a92102

Please sign in to comment.