This commit is contained in:
Philipp Kühn 2020-11-16 17:26:09 +01:00
commit f17b5f977c
4 changed files with 15 additions and 4 deletions

View File

@ -136,7 +136,6 @@ export default {
extensions: [
...defaultExtensions(),
Collaboration.configure({
provider: this.provider,
type: this.type,
}),
CollaborationCursor.configure({

View File

@ -32,7 +32,6 @@
link: /examples/export-html-or-json
- title: Use v-model
link: /examples/v-model
draft: true
- title: Share feedback
link: /overview/feedback

View File

@ -4,13 +4,11 @@ import {
} from 'y-prosemirror'
export interface CollaborationOptions {
provider: any,
type: any,
}
const Collaboration = Extension.create({
defaultOptions: <CollaborationOptions>{
provider: null,
type: null,
},

View File

@ -2144,6 +2144,21 @@
dependencies:
defer-to-connect "^1.0.1"
"@tiptap/core@2.x":
version "2.0.0-alpha.1"
dependencies:
"@types/prosemirror-schema-list" "^1.0.1"
prosemirror-commands "^1.1.3"
prosemirror-inputrules "^1.1.3"
prosemirror-keymap "^1.1.3"
prosemirror-model "^1.12.0"
prosemirror-schema-list "^1.1.4"
prosemirror-state "^1.3.3"
prosemirror-tables "^1.1.1"
prosemirror-transform "^1.2.8"
prosemirror-utils "^1.0.0-0"
prosemirror-view "^1.16.1"
"@types/babel-types@*", "@types/babel-types@^7.0.0":
version "7.0.9"
resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-7.0.9.tgz#01d7b86949f455402a94c788883fe4ba574cad41"