1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

Remove unused code (#5149)

This commit is contained in:
hujiulong
2022-10-12 20:19:23 +08:00
committed by GitHub
parent 1b14de5f8e
commit 10d723fa02

View File

@@ -192,7 +192,6 @@ export const ReactEditor = {
*/
deselect(editor: ReactEditor): void {
const el = ReactEditor.toDOMNode(editor, editor)
const { selection } = editor
const root = ReactEditor.findDocumentOrShadowRoot(editor)
const domSelection = root.getSelection()