I have a kendo editor, I use the snippets feature but I want to change the display text on it, currently it shows "HTML toevoegen" which means "Insert HTML". Now I want to change this to "Placeholders".
This is the code I already have:
<div class="div6 editor-field">
@(Html.Kendo().EditorFor(x => x.MailBodyEN)
.Name("EditorEN")
.Tools(tools => tools
.Clear()
.Bold()
.Italic()
.Underline()
.Strikethrough()
.JustifyLeft()
.JustifyCenter()
.JustifyRight()
.JustifyFull()
.InsertUnorderedList()
.InsertOrderedList()
.Outdent()
.Indent()
.CreateLink()
.Unlink()
.SubScript()
.SuperScript()
.TableEditing()
.ViewHtml()
.Formatting()
.CleanFormatting()
.FontName()
.FontSize()
.BackColor()
.FontColor()
.Snippets(snippets => snippets
.Add("Aanhef", "{{AANHEF}}")
.Add("Contactpersoon", "{{CONTACTPERSOON}}")
.Add("Kwartaal", "{{KWARTAAL}}")
.Add("Jaar", "{{JAAR}}")
.Add("Declaratielink", "{{DECLARATIELINK}}")
.Add("Slot", "{{GROET}}"))
)
.Resizable(true))
@Html.ValidationMessageFor(x => x.MailBodyEN)
Now the problem is, online I can find the Javascript way to do it: which is the way to do it if ou made it the Javascript way, using messages. I want to do it the C# way, I saw it has a .Messages method I can call:
But I dont know what to put between the brackets to change the text from "HTML toevoegen" to "Placeholders".


So I figured it out and it works now, I dont now why I didnt think about this before. but it was literally like this: