New to Telerik UI for ASP.NET Core? Download free 30-day trial

EditorToolItemFactory

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")
                    )
                )
             )

In this article
Not finding the help you need?