Const
Rich text note editor component with TipTap.
The NoteEditor provides a full-featured rich text editing interface using TipTap with support for tables, task lists, and auto-save to S3.
Features:
Component props
NoteEditor React element
Basic usage inside HiyveProvider:
import { NoteEditor } from '@hiyve/react-notes';function NotesSidebar() { return <NoteEditor title="Notes" maxHeight={500} enableAutoSave />;} Copy
import { NoteEditor } from '@hiyve/react-notes';function NotesSidebar() { return <NoteEditor title="Notes" maxHeight={500} enableAutoSave />;}
With customization:
<NoteEditor title="Meeting Notes" initialTitle="Sprint Planning" placeholder="Take notes here..." enableAutoSave autoSaveInterval={5000} labels={{ saving: 'Saving...', saved: 'All changes saved' }} onSave={(note) => console.log('Saved:', note.id)}/> Copy
<NoteEditor title="Meeting Notes" initialTitle="Sprint Planning" placeholder="Take notes here..." enableAutoSave autoSaveInterval={5000} labels={{ saving: 'Saving...', saved: 'All changes saved' }} onSave={(note) => console.log('Saved:', note.id)}/>
Rich text note editor component with TipTap.