This is a demo of a ProseMirror editor that was made collaborative with Yjs & y-prosemirror. This demo uses the prosemirror-example-setup as a configuration. Learn more about how you can build your own custom editor with ProseMirror in their documentation.
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
npm i
npm start
# Project is running at http://localhost:8080/