Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active June 22, 2021 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/2e6fcbf543a357c990b096fe0d5774c6 to your computer and use it in GitHub Desktop.
Save velotiotech/2e6fcbf543a357c990b096fe0d5774c6 to your computer and use it in GitHub Desktop.
import Quill from "quill";
import * as Y from 'yjs';
import { QuillBinding } from 'y-quill';
import { WebsocketProvider } from 'y-websocket';
import QuillCursors from "quill-cursors";
// Register QuillCursors module to add the ability to show multiple cursors on the editor.
Quill.register('modules/cursors', QuillCursors);
window.addEventListener('load', () => {
// We'll add more blocks as we continue
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment