Fires when Editor is blurred and its content has changed.
Example
function onChange(e) {
// handle event
}
Fires when an Editor command is executed.
Example
$("#editor").kendoEditor({
execute: function(e) {
// handle event
});
To set after initialization
// get a reference to the Editor
var editor = $("#editor").data("kendoEditor");
// bind to the select event
editor.bind("execute", function(e) {
// handle event
}
Event data
-
name
: String
- The name of the command
-
command
: Object
- The command instance
Fires before when content is pasted in the Editor.
Example
$("#editor").kendoEditor({
paste: function(e) {
// handle event
});
To set after initialization
// get a reference to the Editor
var editor = $("#editor").data("kendoEditor");
// bind to the select event
editor.bind("paste", function(e) {
// handle event
}
Event data
-
html
: Object
- The pasted content
Fires when the Editor selection has changed.
Example
$("#editor").kendoEditor({
select: function(e) {
// handle event
}
});
To set after initialization
// get a reference to the Editor
var editor = $("#editor").data("kendoEditor");
// bind to the select event
editor.bind("select", function(e) {
// handle event
}