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

Function setItems

packages/plugins/context-menu/src/store.ts:88–95  ·  view source on GitHub ↗
(editor: Editable, items: ContextMenuItem[])

Source from the content-addressed store, hash-verified

86 },
87
88 setItems(editor: Editable, items: ContextMenuItem[]) {
89 const store = getStore(editor)
90 store.setState(() => {
91 return {
92 items,
93 }
94 })
95 },
96}

Callers

nothing calls this directly

Calls 1

getStoreFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…