add an example to sync multiple tiptap instances with one Y.js document

This commit is contained in:
Hans Pagel
2021-01-11 14:42:47 +01:00
parent e4801b0cfa
commit dd39e3a307
4 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Multiple editors
The following examples has three different instances of tiptap. The first is configured to have a single paragraph of text, the second to have a task list and the third to have text. All of them are stored in a single Y.js document, which is synced with other users.
:::warning Shared Document
Be nice! The content of this editor is shared with other users from the Internet.
:::
<demo name="Examples/MultipleEditors" />