|
|
@@ -146,6 +146,14 @@ export default class TableEditing extends Plugin {
|
|
|
injectTableLayoutPostFixer( model );
|
|
|
injectTableCellRefreshPostFixer( model );
|
|
|
injectTableCellParagraphPostFixer( model );
|
|
|
+
|
|
|
+ const undoElementsWithSeparateSelectionRanges = editor.config.get( 'undo.elementsWithSeparateSelectionRanges' ) || [];
|
|
|
+
|
|
|
+ if ( !undoElementsWithSeparateSelectionRanges.includes( 'tableCell' ) ) {
|
|
|
+ undoElementsWithSeparateSelectionRanges.push( 'tableCell' );
|
|
|
+
|
|
|
+ editor.config.set( 'undo.elementsWithSeparateSelectionRanges', undoElementsWithSeparateSelectionRanges );
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|