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

Function setItems

packages/plugins/toolbar/src/toolbar/store.ts:57–60  ·  view source on GitHub ↗
(editor: Editable, items: ToolbarItem[])

Source from the content-addressed store, hash-verified

55
56export const Toolbar = {
57 setItems(editor: Editable, items: ToolbarItem[]) {
58 const store = getStore(editor)
59 store.setState({ items })
60 },
61}

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…