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

Function setItems

packages/plugins/toolbar/src/side/store.ts:101–104  ·  view source on GitHub ↗
(editor: Editable, items: SideToolbarItem[])

Source from the content-addressed store, hash-verified

99 },
100
101 setItems(editor: Editable, items: SideToolbarItem[]) {
102 const store = getStore(editor)
103 store.setState({ items })
104 },
105
106 setDecorateOpen(editor: Editable, open: boolean) {
107 const store = getStore(editor)

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…