MCPcopy Create free account
hub / github.com/editablejs/editable / setOptions

Function setOptions

packages/plugins/table/src/table/options.ts:25–29  ·  view source on GitHub ↗
(editor: Editor, options: TableOptions)

Source from the content-addressed store, hash-verified

23}
24
25export const setOptions = (editor: Editor, options: TableOptions) => {
26 setCellOptions(editor, options)
27 setRowOptions(editor, options)
28 TABLE_OPTIONS_WEAKMAP.set(editor, options)
29}
30
31export const useTableOptions = (editor: Editor) => {
32 return React.useRef(getOptions(editor)).current

Callers 1

withTableFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…