New to Kendo UI for jQuery? Download free 30-day trial
Custom tools
- EXAMPLE
- VIEW SOURCE
-
EDIT
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
Also available for:
API REFERENCEDescription
This example illustrates how to customize some of the native Editor tools (font size, font name and block format) by modifying the tools' item collections, as well as how to create completely custom tools (Content Area Background Color and Insert a Horizontal Ruler).
You can use the .concat() method for JavaScript arrays to modify the fontName, fontSize and Formatting settings.
To add a new custom action item to the toolbar set the template option of the editor tool item.
To execute a custom command when it is pressed, set the exec attribute to point to a JavaScript function that will be fired when the custom button is clicked.