Sets up collaboration configuration for a Datalayer document. Creates WebSocket URL and user session for real-time editing.
Lexical document to enable collaboration for.
Collaboration configuration or undefined if setup fails.
StaticgetGets the singleton instance of the collaboration service. Creates a new instance if one doesn't exist.
The singleton instance of LexicalCollaborationService.
Singleton service for setting up lexical document collaboration. Manages WebSocket connections and user session configuration.