Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update collab docs #3033

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Update collab docs #3033

merged 1 commit into from
Sep 19, 2022

Conversation

fantactuka
Copy link
Contributor

  • Note regarding editor state for composer
  • Newly added initialEditorState for collab plugin

@vercel
Copy link

vercel bot commented Sep 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Sep 19, 2022 at 3:42PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Sep 19, 2022 at 3:42PM (UTC)

const initialConfig = {...};
const initialConfig = {
// NOTE: This is critical for collaboration plugin to set editor state to null. It
// would indicate that editor it should not try to set any default state
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"...would indicate that the editor should not try..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants