(editor: Editor)
| 10 | const UNORDERED_LIST_OPTIONS = new WeakMap<Editor, UnorderedListOptions>() |
| 11 | |
| 12 | export const getOptions = (editor: Editor): UnorderedListOptions => { |
| 13 | return UNORDERED_LIST_OPTIONS.get(editor) ?? {} |
| 14 | } |
| 15 | |
| 16 | export const setOptions = (editor: Editor, options: UnorderedListOptions) => { |
| 17 | UNORDERED_LIST_OPTIONS.set(editor, options) |
nothing calls this directly
no test coverage detected
searching dependent graphs…