Skip to main content

Documentation Index

Fetch the complete documentation index at: https://novel.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Your component must be a child of EditorRoot to use this hook.
const CustomComponent = ({ open, onOpenChange }: LinkSelectorProps) => {
  const { editor } = useEditor();
...
}

<EditorRoot>
  <CustomComponent/>
</EditorRoot>

Props

editor
Editor
All methods are available here Editor