It is often required to define common styles when editing content. This example shows how to do that in Telerik Editor for ASP.NET MVC.

To define a style use the Style method. Then specify the user-friendly name of the style and the name of the CSS class to apply.

<%= Html.Telerik().Editor()
        .Name("Editor")
        .Tools(tools => tools
            .Style(styles => styles
                .Add("Hightlight", "highlight"))
        )

If you want to preview the styles you should include the required CSS file in the editor using the StyleSheets method:

<%= Html.Telerik().Editor()
        .Name("Editor")
        .Tools(tools => tools
            .Style(styles => styles
                .Add("Hightlight", "highlight"))
        )
        .StyleSheets(styleSheets => styleSheets.Add("editorStyles.css"))