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

Function getOptions

packages/plugins/table/src/table/options.ts:16–23  ·  view source on GitHub ↗
(editor: Editor)

Source from the content-addressed store, hash-verified

14}
15
16export 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
25export const setOptions = (editor: Editor, options: TableOptions) => {
26 setCellOptions(editor, options)

Callers 3

useTableOptionsFunction · 0.90
table-editor.tsFile · 0.90

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…