@richkitjs/core
v0.3.0
Published
Headless, framework-agnostic rich text editor built on ProseMirror. Extension API, schema builder, chainable commands, HTML/JSON I/O and autosave. 64 KB gzipped.
Maintainers
Readme
@richkitjs/core
Headless, framework-agnostic rich text editor core built on ProseMirror. No UI included — bring your own toolbar, or use the framework bindings.
Install
npm install @richkitjs/core @richkitjs/starter-kitUsage
import { Editor } from '@richkitjs/core'
import { StarterKit } from '@richkitjs/starter-kit'
const editor = new Editor({
extensions: [...StarterKit],
content: '<p>Hello world</p>',
})
document.querySelector('#app').appendChild(editor.view.dom)Framework bindings
- React: @richkitjs/react
- Vue 3: @richkitjs/vue
Docs
See the repository for full documentation.
License
MIT — free for any use, commercial or not.
Need DOCX, track changes, comments, AI or the Pro editors (Notion, Classic, Question…)? Those are RichKit Pro.
