(editor: Editor, data: SlashTriggerData)
| 13 | } |
| 14 | |
| 15 | export const setSlashTriggerData = (editor: Editor, data: SlashTriggerData) => { |
| 16 | SLASH_TRIGGER_DATA_WEAK_MAP.set(editor, data) |
| 17 | } |
| 18 | |
| 19 | export const clearSlashTriggerData = (editor: Editor) => { |
| 20 | SLASH_TRIGGER_DATA_WEAK_MAP.delete(editor) |
no outgoing calls
no test coverage detected
searching dependent graphs…