Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Imperative API for interacting with the editor.
EditorRoot
const CustomComponent = ({ open, onOpenChange }: LinkSelectorProps) => { const { editor } = useEditor(); ... } <EditorRoot> <CustomComponent/> </EditorRoot>