diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index 2070962f..bba1e2ac 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -77,9 +77,6 @@ export default { Highlight, TaskList, CustomTaskItem, - Collaboration.configure({ - document: ydoc, - }), CollaborationCursor.configure({ provider: this.provider, user: this.currentUser, @@ -87,6 +84,9 @@ export default { this.users = users }, }), + Collaboration.configure({ + document: ydoc, + }), ], }) diff --git a/docs/src/demos/Examples/Default/index.vue b/docs/src/demos/Examples/Default/index.vue index e97fc4f6..c6c71525 100644 --- a/docs/src/demos/Examples/Default/index.vue +++ b/docs/src/demos/Examples/Default/index.vue @@ -70,7 +70,9 @@