(editor: Editable)
| 25 | } |
| 26 | |
| 27 | export const useInlineToolbarStore = (editor: Editable) => { |
| 28 | return React.useMemo(() => getStore(editor), [editor]) |
| 29 | } |
| 30 | |
| 31 | export const useInlineToolbarItems = (editor: Editable) => { |
| 32 | const store = useInlineToolbarStore(editor) |
no test coverage detected
searching dependent graphs…