NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

CommandExecuteEvent

Api-typedef icontypedef

Event fired by the execute method. The command action is a listener to this event so it's possible to change/cancel the behavior of the command by listening to this event.

See decorate for more information and samples.

Note: This event is fired even if command is disabled. However, it is automatically blocked by a high priority listener in order to prevent command execution.

Value

DecoratedMethodEvent<Command, 'execute'>

Fired by