8
0
Pārlūkot izejas kodu

Aligned deleteContent() use to the changes in the engine.

Piotrek Koszuliński 8 gadi atpakaļ
vecāks
revīzija
2af671ddc9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/ckeditor5-clipboard/src/clipboard.js

+ 1 - 1
packages/ckeditor5-clipboard/src/clipboard.js

@@ -185,7 +185,7 @@ export default class Clipboard extends Plugin {
 
 			if ( data.method == 'cut' ) {
 				doc.enqueueChanges( () => {
-					editor.data.deleteContent( doc.selection, doc.batch(), { merge: true } );
+					editor.data.deleteContent( doc.selection, doc.batch() );
 				} );
 			}
 		}, { priority: 'low' } );