Skip to content

Commit 2413238

Browse files
committed
fix build
1 parent a8080e5 commit 2413238

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

packages/roosterjs-content-model-core/lib/corePlugin/copyPaste/CopyPastePlugin.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,6 @@ class CopyPastePlugin implements PluginWithState<CopyPastePluginState> {
111111
addRangeToSelection(doc, range);
112112
}
113113

114-
const selection = this.editor.getDOMSelection();
115-
116-
if (!this.editor) {
117-
return;
118-
}
119-
120-
this.editor.setDOMSelection(selection);
121-
this.editor.focus();
122-
123114
if (isCut) {
124115
this.editor.formatContentModel(
125116
(model, context) => {

0 commit comments

Comments
 (0)