(editor: YjsEditor, key: string)
| 122 | }, |
| 123 | |
| 124 | position(editor: YjsEditor, key: string): Point | null | undefined { |
| 125 | const position = getStoredPosition(editor.sharedRoot, key) |
| 126 | if (!position) { |
| 127 | return undefined |
| 128 | } |
| 129 | |
| 130 | return relativePositionToEditorPoint(editor.sharedRoot, editor, position) |
| 131 | }, |
| 132 | |
| 133 | storedPositionsRelative(editor: YjsEditor): Record<string, Y.RelativePosition> { |
| 134 | return getStoredPositions(editor.sharedRoot) |
nothing calls this directly
no test coverage detected
searching dependent graphs…