Hook that wraps TipTap useEditor with configured extensions.
Editor configuration options
Editor instance and helper methods
This hook provides a pre-configured TipTap editor with support for:
function MyEditor() { const { editor, content, isEmpty, setContent } = useNoteEditor({ initialContent: { type: 'doc', content: [] }, placeholder: 'Start typing...', onUpdate: (content) => console.log('Content changed:', content), }); return <EditorContent editor={editor} />;} Copy
function MyEditor() { const { editor, content, isEmpty, setContent } = useNoteEditor({ initialContent: { type: 'doc', content: [] }, placeholder: 'Start typing...', onUpdate: (content) => console.log('Content changed:', content), }); return <EditorContent editor={editor} />;}
Hook that wraps TipTap useEditor with configured extensions.