Skip to content

Commit ac3e82c

Browse files
committed
Merge branch 'release/3.3' into release/3.4
2 parents 7bcef13 + bd6f7a8 commit ac3e82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/core/editor3/components/handlePastedText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function pasteContentFromOpenEditor(
8888
return 'not-handled';
8989
}
9090

91-
const blocksArray = Array.from<ContentBlock>(internalClipboard);
91+
const blocksArray = Array.from<ContentBlock>(internalClipboard.toList());
9292
const contentState = ContentState.createFromBlockArray(blocksArray);
9393
const editorWithContent = insertContentInState(editorState, contentState, editorFormat);
9494

0 commit comments

Comments
 (0)