瀏覽代碼

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

Piotrek Koszuliński 8 年之前
父節點
當前提交
2af671ddc9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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' } );