keydown

Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down.

Example - subscribe to the "keydown" event during initialization

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

Example - subscribe to the "keydown" event after initialization

<textarea id="editor"></textarea>
<script>
function editor_keydown(e) {
  console.log("keydown : keyCode=", e.keyCode);
}
$("#editor").kendoEditor();
var editor = $("#editor").data("kendoEditor");
editor.bind("keydown", editor_keydown);
</script>
In this article
Not finding the help you need?