Skip to content

Commit

Permalink
docs: Fix usage example of CollaborationCursor (#1911)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Sep 20, 2021
1 parent b868591 commit 59e3875
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guide/collaborative-editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}),
//
],
Expand Down

0 comments on commit 59e3875

Please sign in to comment.