Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.4 KB

File metadata and controls

48 lines (27 loc) · 1.4 KB

Quill editor collaborative editing binding

Makes a rich-text Quill editor instance collaborative by binding it to a JSON CRDT document using the quill extension. This allows multiple users to edit the same document json-joy JSON CRDT document concurrently through the Quill editor.

collab-quill-demo

Usage

Installation:

npm install @jsonjoy.com/collaborative-quill json-joy quill quill-delta

Usage:

import {bind} from '@jsonjoy.com/collaborative-quill';
import {Model} from 'json-joy/lib/json-crdt';

// ...

const unbind = bind(str, editor);

// When done, unbind the binding.
unbind();

React

For React components, see @jsonjoy.com/collaborative-quill-react.

Preview

Funding

This project is funded through NGI Zero Core, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

NLnet foundation logo NGI Zero Logo