(editor: Editor)
| 14 | } |
| 15 | |
| 16 | export const getOptions = (editor: Editor): TableOptions => { |
| 17 | const options = TABLE_OPTIONS_WEAKMAP.get(editor) ?? {} |
| 18 | return { |
| 19 | ...options, |
| 20 | ...getCellOptions(editor), |
| 21 | ...getRowOptions(editor), |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | export const setOptions = (editor: Editor, options: TableOptions) => { |
| 26 | setCellOptions(editor, options) |
no test coverage detected
searching dependent graphs…