This is a demo of an TipTap editor that was made collaborative with Yjs & y-prosemirror. Since TipTap is based on ProseMirror, we simply need to add y-prosemirror to the internal ProseMirror instance. Find out more about the prosemirror binding in our Official Docs.
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/