Kendo Editor Snippet Feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@( | |
Html.Kendo().Editor() | |
.Name("kEditor") | |
.Tools(tools => tools | |
.Clear() | |
.Snippets(snippets => snippets | |
.Add("Signature","<p>Regards,<br /> Lohith G N,<br /><a href='mailto:lohith.nagaraj@telerik.com'>lohith.nagaraj@telerik.com </a></p>") | |
.Add("Kendo Online Demos"," <a href='http://demos.kendoui.com'>Kendo online demos</a> ") | |
) | |
) | |
.Value(@<text> | |
Put the cursor after this text and use the "Insert HTML" tool. | |
</text>) | |
.HtmlAttributes(new {style="width:740px;height:240px"}) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment