A Collaborative Editor - Yjs Docs

 
Let's get started by deciding on an editor to use. Yjs doesn't ship with a customized editor. There are already a lot of awesome open-source editors projects out there. Yjs supports many of them using extensions. Editor bindings are a concept in Yjs that allow us to bind the state of a third-party editor to a syncable Yjs document. This is a list of all known editor bindings:
<div>import * as Y from 'yjs' import { WebrtcProvider } from 'y-webrtc' import { QuillBinding } from 'y-quill' import Quill from 'quill' import QuillCursors from 'quill-cursors' Quill.register('modules/cursors', QuillCursors) const quill = new Quill(document.querySelector('#editor'), { <br></div>
<div>import * as Y from 'yjs' import { WebrtcProvider } from 'y-webrtc' import { QuillBinding } from 'y-quill' import Quill from 'quill' import QuillCursors from 'quill-cursors' Quill.register('modules/cursors', QuillCursors) const quill = new Quill(document.querySelector('#editor'), { <br></div>