docs: Fix usage example of CollaborationCursor (#1911)

This commit is contained in:
Carlo Beltrame 2021-09-20 09:41:10 +02:00 committed by GitHub
parent b868591ad2
commit 59e38750fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,8 +170,10 @@ const editor = new Editor({
// Register the collaboration cursor extension
CollaborationCursor.configure({
provider: provider,
name: 'Cyndi Lauper',
color: '#f783ac',
user: {
name: 'Cyndi Lauper',
color: '#f783ac',
},
}),
// …
],