fix collaborative editing document name

This commit is contained in:
Hans Pagel
2020-11-25 16:50:12 +01:00
parent 75ed34d065
commit 7bb64aad1b

View File

@@ -139,8 +139,7 @@ export default {
this.indexdb = new IndexeddbPersistence(this.documentName, this.ydoc)
// this.provider = new WebrtcProvider(this.documentName, this.ydoc)
// this.provider = new WebsocketProvider('wss://demos.yjs.dev', 'tiptap', this.ydoc)
this.provider = new WebsocketProvider('ws://127.0.0.1:1234', 'tiptap', this.ydoc)
this.provider = new WebsocketProvider('ws://127.0.0.1:1234', this.documentName, this.ydoc)
this.provider.on('status', event => {
this.log.unshift({
timestamp: new Date(),