Skip to content

Latest commit

 

History

History

codemirror.next

CodeMirror6 Demo

y-codemirror.next / y-websocket / Live Demo

This is a demo of a CodeMirror 6 editor that was made collaborative with Yjs & y-codemirror.next.

We use the y-websocket provider to share document updates through a server. There are many more providers available for Yjs - try switching to another provider. See docs.

Also you could try addingh offline persistence to this demo. Wouldn't it be cool if document updates are persisted in the browser, so you can load your application load faster? Try it out: https://docs.yjs.dev/getting-started/allowing-offline-editing

Quick Start

npm i
npm start
# Project is running at http://localhost:8080/