Event emitter for Lexical editor commands. Manages subscriptions and broadcasts commands to all handlers.
Private
Array of registered command handler functions
Emit a command to all subscribers
Subscribe to command events
Event emitter for Lexical editor commands. Manages subscriptions and broadcasts commands to all handlers.