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