Prosemirror powered rich text editor.
npm install @binarycapsule/editor
---
BC Editor is a Prosemirror based text editor with
markdown shortcuts and serialization. It is highly inspired by:
- Rich Markdown Editor (the
editor that powers Outline)
- The editor inside the Linear app
Visit the demo at
editor.binarycapsule.tech.
The Editor is available as an npm package:
``bash`
npm i @binarycapsule/editor
Peer dependencies:
``
npm i react react-dom @binarycapsule/ui-capsules
Note: this package is meant to be used inside a app already setup with the ui-capsules package.
As a minimal implementation, pass a ref to the Editor. The editor's value can be
accessed through it:
`tsx
export const App = () => {
const editorRef = React.useRef
return (
Licensed under the MIT License.