Hi Mat,
The ImageEditor is a component introduced with the latest release of Kendo UI, so we will be further improving the documentation of the component.
To answer your question - you can define the items in the ImageEditor toolbar using the toolbar.items configuration option:
https://docs.telerik.com/kendo-ui/api/javascript/ui/imageeditor/configuration/toolbar.items
You can define a click handler for a button using the toolbar.items.click configuration option or implement a custom ImageEditor command, and specify it in the command toolbar.items.command configuration option:
$("#imageEditor").kendoImageEditor({
toolbar: {
items: [
"open",
"crop",
"resize",
"undo",
"redo",
{
type: "button",
text: "My Custom Save",
icon: "save",
enable: true,
click:function(){
alert('button clicked')
}
}
]
}
});
That said - it would be valuable for us if you can share areas of the ImageEditor documentation you would like to see improved. This would help us provide the details the community needs to use the ImageEditor widget seamlessly.
Regards,
Aleksandar
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).