diff --git a/docs/src/demos/Examples/Drawing/index.vue b/docs/src/demos/Examples/Drawing/index.vue index 7d375d74..0308bbb6 100644 --- a/docs/src/demos/Examples/Drawing/index.vue +++ b/docs/src/demos/Examples/Drawing/index.vue @@ -8,7 +8,6 @@ import Collaboration from '@tiptap/extension-collaboration' import { Editor, EditorContent } from '@tiptap/vue-starter-kit' import Document from '@tiptap/extension-document' -import Paragraph from '@tiptap/extension-paragraph' import Text from '@tiptap/extension-text' import * as Y from 'yjs' import { WebsocketProvider } from 'y-websocket' @@ -32,13 +31,12 @@ export default { this.editor = new Editor({ extensions: [ Document.extend({ - content: 'paper paragraph', + content: 'paper', }), - Paragraph, - Text, Collaboration.configure({ provider, }), + Text, Paper, ], }) diff --git a/packages/extension-collaboration-cursor/package.json b/packages/extension-collaboration-cursor/package.json index 8dfdb260..e956ef98 100644 --- a/packages/extension-collaboration-cursor/package.json +++ b/packages/extension-collaboration-cursor/package.json @@ -25,6 +25,6 @@ "@tiptap/core": "^2.0.0-alpha.6" }, "dependencies": { - "y-prosemirror": "^1.0.0" + "y-prosemirror": "^1.0.3" } } diff --git a/packages/extension-collaboration/package.json b/packages/extension-collaboration/package.json index db6be2ef..cac5db78 100644 --- a/packages/extension-collaboration/package.json +++ b/packages/extension-collaboration/package.json @@ -25,6 +25,6 @@ "@tiptap/core": "^2.0.0-alpha.6" }, "dependencies": { - "y-prosemirror": "^1.0.0" + "y-prosemirror": "^1.0.3" } } diff --git a/yarn.lock b/yarn.lock index 8e673639..1faea740 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15190,10 +15190,10 @@ y-leveldb@^0.1.0: level "^6.0.1" lib0 "^0.2.31" -y-prosemirror@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/y-prosemirror/-/y-prosemirror-1.0.0.tgz#a3d0a36726355979a8e88814c40851851e5bf241" - integrity sha512-7jC45Z3edI7zU1zFetfwPl8262THmJKq21wA8cQUbS37iHhMw9KwpcxXgYjHIBCSryTyWNtHrM8h489bHFDb7A== +y-prosemirror@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/y-prosemirror/-/y-prosemirror-1.0.3.tgz#89a3b1948aab5b59f3ebc4403eab2203f17f56cd" + integrity sha512-I1xyz5kpjtIAVmEFjQxrJ+5ShvE+wkeyQW7OnBrhTK4t2CeNOltWcZ2Fr33UdJ3D9RzH/KR9Am2jYk+0V2t36A== dependencies: lib0 "^0.2.34"