diff --git a/docs/package.json b/docs/package.json index a974ef04..5cba929b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -33,7 +33,7 @@ "y-prosemirror": "^1.0.7", "y-webrtc": "^10.1.7", "y-websocket": "^1.3.11", - "yjs": "^13.5.3" + "yjs": "^13.5.4" }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.13.0", diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index 1ec75188..8543088a 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: [ @@ -326,7 +326,7 @@ export default { display: flex; align-items: center; - > input { + > label { flex: 0 0 auto; margin-right: 0.5rem; } diff --git a/docs/src/demos/Examples/Tasks/index.vue b/docs/src/demos/Examples/Tasks/index.vue index e0b33508..dad4df4e 100644 --- a/docs/src/demos/Examples/Tasks/index.vue +++ b/docs/src/demos/Examples/Tasks/index.vue @@ -69,7 +69,7 @@ ul[data-type="taskList"] { display: flex; align-items: center; - > input { + > label { flex: 0 0 auto; margin-right: 0.5rem; } diff --git a/docs/src/demos/Experiments/GlobalDragHandle/index.vue b/docs/src/demos/Experiments/GlobalDragHandle/index.vue index 90fec8b2..b3cbd121 100644 --- a/docs/src/demos/Experiments/GlobalDragHandle/index.vue +++ b/docs/src/demos/Experiments/GlobalDragHandle/index.vue @@ -5,7 +5,8 @@