Skip to content

resola-ai/deca-blocknote-editor

Repository files navigation

@resola-ai/blocknote-editor

A React-based rich text editor built on top of BlockNote.

Installation

npm install @resola-ai/blocknote-editor

Usage

import { BlockNoteEditor } from '@resola-ai/blocknote-editor';

function App() {
  return (
    <BlockNoteEditor
      initialHTML="<p>Hello World!</p>"
      onChange={(html, plainText) => {
        console.log(html, plainText);
      }}
    />
  );
}

Requirements

  • React 18 or higher
  • @blocknote/core ^0.15.5
  • @blocknote/react ^0.15.5
  • @blocknote/shadcn ^0.15.5

License

MIT

About

A forked of Block Note Editor, with some customized UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages