# CommandExecuteEvent

typedef

Event fired by the [`execute`](module_core_command-Command.md#function-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`](module_utils_observablemixin-Observable.md#function-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.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/command.ts#L299)

#### Value

`DecoratedMethodEvent<Command, 'execute'>`

## Fired by

* [Command#execute](module_core_command-Command.md#event-execute)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
