Edit this page

tools.exec Function

The JavaScript function which will be executed when the end-user clicks the tool button.

Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
  tools: [
    {
      name: "custom",
      exec: function(e) {
        var editor = $(this).data("kendoEditor");
        // ...
      }
    }
  ]
});
</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