(editor: Editor, options: TableOptions)
| 23 | } |
| 24 | |
| 25 | export const setOptions = (editor: Editor, options: TableOptions) => { |
| 26 | setCellOptions(editor, options) |
| 27 | setRowOptions(editor, options) |
| 28 | TABLE_OPTIONS_WEAKMAP.set(editor, options) |
| 29 | } |
| 30 | |
| 31 | export const useTableOptions = (editor: Editor) => { |
| 32 | return React.useRef(getOptions(editor)).current |
no outgoing calls
no test coverage detected
searching dependent graphs…