Feature: Support YJS Subdocs with Collaboration
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 61
Description
## 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.
Contributor guide
Research direction
Start by reading the LexicalCollaborationPlugin implementation and its handling of the primary YJS document. Reproduce the issue with a YJS subdoc passed as the primary document, then trace where root-document assumptions prevent synchronization. Done means collaboration syncs correctly when using subdocs rather than only a single root document.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- distributed-systems, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100