From c9d6fcabaee6ff4d7020f407d90d6cf20d9ce80e Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Fri, 23 Apr 2021 07:19:39 +0200 Subject: [PATCH] change the collab demo to use a new document --- docs/src/demos/Examples/CollaborativeEditing/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index beb000cc..1f7082fa 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -59,14 +59,14 @@ export default { mounted() { const ydoc = new Y.Doc() - this.provider = new WebsocketProvider('wss://websocket.tiptap.dev', 'tiptap-collaboration-example', ydoc) + this.provider = new WebsocketProvider('wss://websocket.tiptap.dev', 'tiptap-collaboration-demo', ydoc) this.provider.on('status', event => { this.status = event.status }) window.ydoc = ydoc - this.indexdb = new IndexeddbPersistence('tiptap-collaboration-example', ydoc) + this.indexdb = new IndexeddbPersistence('tiptap-collaboration-demo', ydoc) this.editor = new Editor({ extensions: [