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) {
/* The result can be observed in the DevTools(F12) console of the browser. */
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) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("executing command", e.name, e.command);
}
$("#editor").kendoEditor();
var editor = $("#editor").data("kendoEditor");
editor.bind("execute", editor_execute);
</script>