Fired when the user clicks the "Export to PDF" toolbar button.

Event Data

e.sender kendo.ui.Editor

The widget instance which fired the event.

e.preventDefault Function

If invoked the Editor will not save the generated file.

e.promise Promise

A promise that will be resolved when the export completes.

Example - subscribe to the "select" event during initialization

<textarea id="editor"></textarea>
  pdfExport: function(e) {

Example - subscribe to the "select" event after initialization

<textarea id="editor"></textarea>
function onEditorExport(e) {
var editor = $("#editor").data("kendoEditor");
editor.bind("pdfExport", onEditorExport);
In this article
Not finding the help you need? Improve this article