refactor collaboration example

This commit is contained in:
Hans Pagel
2020-11-30 14:12:19 +01:00
parent 6f3517a5cf
commit 442eba8c96
7 changed files with 51 additions and 429 deletions

View File

@@ -1,14 +1,8 @@
# Collaborative editing
:::premium Requires Pro Extensions
We kindly ask you to sponsor us, before using this example in production. [Read more](/sponsor)
:::
This example shows how you can use tiptap to let multiple users collaborate in the same document in real-time.
This example shows how you can use tiptap to let different users collaboratively work on the same text in real-time.
It connects client with WebRTC and merges changes to the document (no matter where they come from) with the awesome library [Y.js](https://github.com/yjs/yjs) by Kevin Jahns. Be aware that in a real-world scenario you would probably add a server, which is also able to merge changes with Y.js.
If you want to learn more about collaborative text editing, [check out our guide on that topic](/guide/collaborative-editing). Anyway, its showtime now:
It connects all clients to a WebSocket server and merges changes to the document with the power of [Y.js](https://github.com/yjs/yjs). If you want to learn more about collaborative text editing, check out [our guide on collaborative editing](/guide/collaborative-editing).
:::warning Shared Document
Be nice! The content of this editor is shared with other users from the Internet.