EditorToolTagHelper

Example

Razor
<tool>
    <tool-items></tool-items>
    <tool-template></tool-template>
</tool>

ChildTags

Tag NameDetails
tool-itemsEditorToolItemsTagHelper
tool-templateTemplateTagHelper

Attributes

AttributeTypeDescription
nameStringWhen specifying a tool as an object, a tool name is required. Please note that "undo" and "redo" are reserved tool names.
columnsDoubleSpecifies the colors columns for "foreColor" and "backColor" tools when list of colors are defined.
execStringThe JavaScript function which will be executed when the end-user clicks the tool button.
iconStringSpecifies the icon that will be rendered for the tools.
paletteStringSpecifies custom color palette for "foreColor" and "backColor" tools. For using the default options: "basic" or "websafe" palette attribute.
palette-optionsString[]Specifies custom color palette for "foreColor" and "backColor" tools. For using the default options: "basic" or "websafe" palette attribute.
templateStringRepresents a collection of templates defined for the component.
template-handlerStringThe kendo template that will be used for rendering the given tool. This option expects the name of a JavaScript function that will be called to return the template.
template-idStringThe kendo template that will be used for rendering the given tool. This option expects the ID of the script element that contains the template.
template-viewIHtmlContentThe kendo template that will be used for rendering the given tool. This option expects the instance containing the created HTML.
tooltipStringThe text which will be displayed when the end-user hovers the tool button with the mouse.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support