Typedef

CommandExecuteEvent (core)

@ckeditor/ckeditor5-core/src/command

typedefDecoratedMethodEvent<Command, 'execute'>

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.

Filtering

Fired by