Edit this page

execute

Fires when an Editor command is executed.

Event Data

e.name String

The name of the command

e.command Object

The command instance

Example - subscribe to the "execute" event during initialization

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
  execute: function(e) {
    console.log("executing command", e.name, e.command);
  }
});
</script>

Example - subscribe to the "execute" event after initialization

<textarea id="editor"></textarea>
<script>
function editor_execute(e) {
  console.log("executing command", e.name, e.command);
}
$("#editor").kendoEditor();
var editor = $("#editor").data("kendoEditor");
editor.bind("execute", editor_execute);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy