Configuration for real-time collaboration features
Current content of the Lexical document
Full URI of the document (used for outline and navigation context)
Whether the document is in edit mode (true) or read-only (false)
Whether this is the first load of the document
Whether the Lexical editor has been initialized and is ready to render
Lexical document ID for tool execution context and tracking
ID of outline item to navigate to (null if no pending navigation)
Resets the entire store to initial state
Updates the collaboration configuration
The new collaboration configuration
Updates the document content
The new document content
Updates the document URI
The new document URI
Updates the editable state of the document
True for edit mode, false for read-only
Updates the initial load flag
True for the first load, false after initial rendering
Updates the ready state of the editor
True when editor has initialized and is ready to render
Updates the Lexical document ID
The new Lexical document ID
Updates the navigation target outline item
The ID of the outline item to navigate to, or null to clear
Updates the editor theme
The new theme: 'light' or 'dark'
Updates the user information for comments
User information (username and color) or null if not logged in
Current editor theme: 'light' or 'dark'
User information for comments (independent of collaboration sync)
Lexical state interface
Defines the complete state structure for the Lexical editor store, including document properties, editor settings, collaboration state, and action methods.