(editor: YjsEditor, key: string)
| 113 | }, |
| 114 | |
| 115 | removeStoredPosition(editor: YjsEditor, key: string): void { |
| 116 | const { sharedRoot, positionStorageOrigin: locationStorageOrigin } = editor |
| 117 | assertDocumentAttachment(sharedRoot) |
| 118 | |
| 119 | sharedRoot.doc.transact(() => { |
| 120 | removeStoredPosition(sharedRoot, key) |
| 121 | }, locationStorageOrigin) |
| 122 | }, |
| 123 | |
| 124 | position(editor: YjsEditor, key: string): Point | null | undefined { |
| 125 | const position = getStoredPosition(editor.sharedRoot, key) |
nothing calls this directly
no test coverage detected
searching dependent graphs…