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.
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.