From 66f02c4145e67bb78b4a45f24009ab37c2a594de Mon Sep 17 00:00:00 2001 From: kriskbx Date: Tue, 6 Apr 2021 11:01:41 +0200 Subject: [PATCH] enable indexeddb persistence again --- 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 1ec75188..988851b7 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -30,7 +30,7 @@ import TaskItem from '@tiptap/extension-task-item' import Highlight from '@tiptap/extension-highlight' import * as Y from 'yjs' import { WebsocketProvider } from 'y-websocket' -// import { IndexeddbPersistence } from 'y-indexeddb' +import { IndexeddbPersistence } from 'y-indexeddb' import MenuBar from './MenuBar.vue' const CustomTaskItem = TaskItem.extend({ @@ -70,7 +70,7 @@ export default { window.ydoc = ydoc - // this.indexdb = new IndexeddbPersistence('tiptap-collaboration-example', ydoc) + this.indexdb = new IndexeddbPersistence('tiptap-collaboration-example', ydoc) this.editor = new Editor({ extensions: [