Skip to content

Commit

Permalink
Add initial editor state for collab example (facebook#2749)
Browse files Browse the repository at this point in the history
It's easy to miss and it breaks collab setup
  • Loading branch information
fantactuka authored Aug 3, 2022
1 parent fb95838 commit 6daa62d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lexical-website-new/docs/collaboration/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function Editor() {
<PlainTextPlugin
contentEditable={<ContentEditable />}
placeholder={<div>Enter some text...</div>}
initialEditorState={null}
/>
<CollaborationPlugin
id="yjs-plugin"
Expand Down

0 comments on commit 6daa62d

Please sign in to comment.