This example shows how to define snippets in Telerik Editor for ASP.NET MVC.

You can use the Snippets method to configure the HTML snippets available to the end users. To add a literal snippet use the Add(string title, string snippet) method. To add a snippet defined in a file use the AddFromFile(string title, string pathToSnippet) method:

    <%= Html.Telerik().Editor()
            .Name("Editor")
            .Tools(tools => tools
                .Clear()
                .Snippets(snippets => snippets
                        .Add("Signature", "<p>Regards,<br /> John Doe")
                        .AddFromFile("Editor Features", "~/Content/Editor/Snippets/Features.html"))
                        
            )
    %>