EditorToolItemFactory
Defines the fluent API for configuring List<EditorToolItem>
Properties
Editor - Editor
Fine-tune deserialization in the Editor widget. Deserialization is the process of parsing the HTML string input from the value() method or from the viewHtml dialog into editable content.
Methods
Add(System.String,System.String)
Modifies the default options of the Editor tools.
Parameters
text - System.String
The string that the item will show.
value - System.String
The value that will be applied by the tool when this item is selected.
Example
@( Html.Kendo().Editor()
.Name("Editor")
.Tools(tools => tools
.FontName(items => items
.Add("Verdana", "Verdana,Geneva,sans-serif")
.Add("Garamond", "Garamond, serif")
)
)
)
Add()
Modifies the default options of the Editor tools.
Example
@( Html.Kendo().Editor()
.Name("Editor")
.Tools(tools => tools
.FontName(items => items
.Add("Verdana", "Verdana,Geneva,sans-serif")
.Add("Garamond", "Garamond, serif")
)
)
)