MCPcopy
hub / github.com/udecode/plate / useEditorString

Function useEditorString

packages/utils/src/react/hooks/useEditorString.ts:3–4  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { useEditorSelector } from '@platejs/core/react';
2
3export const useEditorString = () =>
4 useEditorSelector((editor) => editor.api.string([]), []);

Callers 3

useSelectEditorComboboxFunction · 0.90
useSelectableItemsFunction · 0.90

Calls 1

useEditorSelectorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…