Update react.md, fix typo (#7365)

This commit is contained in:
Bohdan Ptyts
2025-03-23 16:39:06 +01:00
committed by GitHub
parent 55cc35fcae
commit fdd15b3f3c

View File

@ -85,7 +85,7 @@ function Editor() {
id="lexical/react-rich-collab"
providerFactory={providerFactory}
// Optional initial editor state in case collaborative Y.Doc won't
// have any existing data on server. Then it'll user this value to populate editor.
// have any existing data on server. Then it'll use this value to populate editor.
// It accepts same type of values as LexicalComposer editorState
// prop (json string, state object, or a function)
initialEditorState={$initialEditorState}