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

Function useInlineToolbarStore

packages/plugins/toolbar/src/inline/store.ts:27–29  ·  view source on GitHub ↗
(editor: Editable)

Source from the content-addressed store, hash-verified

25}
26
27export const useInlineToolbarStore = (editor: Editable) => {
28 return React.useMemo(() => getStore(editor), [editor])
29}
30
31export const useInlineToolbarItems = (editor: Editable) => {
32 const store = useInlineToolbarStore(editor)

Callers 2

useInlineToolbarItemsFunction · 0.85
useInlineToolbarOpenFunction · 0.85

Calls 1

getStoreFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…