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

EditorToolItemFactory

Properties

Editor - Editor

Disables the rerendering of the formatting marks.

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?