I have a custom tool bar command that inserts HTML Snippets....
How do I programmatically load these elements (I have 100)... It is the insertHTML command that I want to load from my database Table.
$("#editor").kendoEditor({
tools: [
"insertHtml",
"bold",
"italic",
"underline"
],
insertHtml: [
{ text: "Client First Name(s)", value: " [FIRSTNAME] " },
{ text: "Client FullName", value: " [FULLNAME] " },
{ text: "Client Since", value: " [CLIENTSINCE] " }
],
messages: {
insertHtml: "Insert Tags"
}
});
How do I programmatically load these elements (I have 100)... It is the insertHTML command that I want to load from my database Table.
$("#editor").kendoEditor({
tools: [
"insertHtml",
"bold",
"italic",
"underline"
],
insertHtml: [
{ text: "Client First Name(s)", value: " [FIRSTNAME] " },
{ text: "Client FullName", value: " [FULLNAME] " },
{ text: "Client Since", value: " [CLIENTSINCE] " }
],
messages: {
insertHtml: "Insert Tags"
}
});