Uses a block-based rich text editor from BlockNote to allow users to edit and view blocks of content.
import { useBlockNote } from "@blocknote/react"; import { BlockEditor } from "@/ui/input/editor/components/BlockEditor"; export const MyComponent = () => { const BlockNoteEditor = useBlockNote(); return <BlockEditor editor={BlockNoteEditor} />; };
As an open-source company, we welcome contributions through Github. Help us keep it up-to-date, accurate, and easy to understand by getting involved and sharing your ideas!