(editor: Editor, x: number, y: number)
| 1094 | }, |
| 1095 | |
| 1096 | reverseRelativePosition(editor: Editor, x: number, y: number): [number, number] { |
| 1097 | const container = Editable.toDOMNode(editor, editor) |
| 1098 | const rootRect = container.getBoundingClientRect() |
| 1099 | return [x + rootRect.left, y + rootRect.top] |
| 1100 | }, |
| 1101 | |
| 1102 | scrollIntoView(editor: Editor, range = editor.selection) { |
| 1103 | if (!range) return |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…