Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Aligned deleteContent() use to the changes in the engine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Jun 26, 2017
1 parent 39a6db7 commit 0a792f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' } );
Expand Down

0 comments on commit 0a792f6

Please sign in to comment.