remove provider setting from collab extension
This commit is contained in:
@@ -136,7 +136,6 @@ export default {
|
||||
extensions: [
|
||||
...defaultExtensions(),
|
||||
Collaboration.configure({
|
||||
provider: this.provider,
|
||||
type: this.type,
|
||||
}),
|
||||
CollaborationCursor.configure({
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user