mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
Remove unused code (#5149)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user