change order of CollaborationCursor for now

This commit is contained in:
Philipp Kühn
2021-01-29 09:38:42 +01:00
parent 90c6f77063
commit 2b97d4b67b
3 changed files with 10 additions and 10 deletions

View File

@@ -155,16 +155,16 @@ const provider = new WebsocketProvider('ws://127.0.0.1:1234', 'example-document'
const editor = new Editor({
extensions: [
// …
Collaboration.configure({
document: ydoc,
}),
// Register the collaboration cursor extension
CollaborationCursor.configure({
provider: provider,
name: 'Cyndi Lauper',
color: '#f783ac',
}),
Collaboration.configure({
document: ydoc,
}),
// …
],
})
```