Wiki source code of Realtime Collaboration
Last modified by Eleni Cojocariu on 2026/12/04 14:40
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Realtime collaboration lets several people edit the same content at once, each in their own editor. It is built on [[Yjs>>https://yjs.dev/]]: every editor keeps its own copy of the document and exchanges changes with the others, and XWiki is the server that synchronizes them. | ||
| 2 | |||
| 3 | [[WebSocket>>doc:documentation.xs.dev.content-edit.realtime.web-socket.WebHome]] is the server side of that exchange, a dynamic WebSocket endpoint that Yjs-based editors such as BlockNote connect to, and that any other client can connect to as well. [[Configure WebSocket Collaboration with Yjs>>doc:documentation.xs.dev.content-edit.realtime.web-socket.configure.WebHome]] is what an instance needs for it to work. | ||
| 4 | |||
| 5 | [[Front-End Collaboration>>doc:documentation.xs.dev.content-edit.realtime.front-end.WebHome]] is the browser side, the npm packages that bring collaborative editing to an editor and the types they fit together with. |