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

Feature: Support YJS Subdocs with Collaboration #6065

Open
jpulec opened this issue May 8, 2024 · 1 comment
Open

Feature: Support YJS Subdocs with Collaboration #6065

jpulec opened this issue May 8, 2024 · 1 comment
Labels
enhancement Improvement over existing feature

Comments

@jpulec
Copy link
Contributor

jpulec commented May 8, 2024

Description

Currently, it seems that the LexicalCollaborationPlugin makes a lot of assumptions about there only being a single YJS doc and it being set at the root. When trying to use subdocs and only pass a subdoc as the primary doc to be used with lexical collaboration, things don't seem to quite sync correctly.

@jpulec jpulec added the enhancement Improvement over existing feature label May 8, 2024
@StyleT
Copy link
Contributor

StyleT commented May 10, 2024

Hi!

Actually subdocs are supported. Example would be the caption within the Image node (see playground code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement over existing feature
Projects
None yet
Development

No branches or pull requests

2 participants