A React-based rich text editor built on top of BlockNote.
npm install @resola-ai/blocknote-editorimport { BlockNoteEditor } from '@resola-ai/blocknote-editor';
function App() {
return (
<BlockNoteEditor
initialHTML="<p>Hello World!</p>"
onChange={(html, plainText) => {
console.log(html, plainText);
}}
/>
);
}- React 18 or higher
- @blocknote/core ^0.15.5
- @blocknote/react ^0.15.5
- @blocknote/shadcn ^0.15.5
MIT