I have the following code....
<textarea name="description" data-role="editor" class="k-textbox" data-bind="value:description"></textarea>
This produces a kendo editor in place of the textarea and all is fine except I would like to limit the tools available.
As it is I have: Bold, Italic, Underline, Strikethrough, Left Justified, Right Justified, Central Justified, Justified, Ordered List, Unordered List, Indent, Outdent, Link, Unlink and Table creator/editor.
I just need Bold, Italic, Underline, Ordered List, Unordered List, Indent, Outdent, Link, Unlink and Table creator/editor.
How to I achieve this.... Note I have had to use the data-role="editor" method as the textarea if within a kendo editor template.
Just set the tools options.
It seems like you're using MVVM, so you can probably set it up to be like:
<textarea name="description" class="k-textbox"
data-role="editor"
data-tools="['bold', 'italic', 'underline', 'insertOrderedList', 'insertUnorderedList', 'indent', 'outdent', 'createLink', 'unlink', 'createTable', 'addColumnLeft', 'addColumnRight', 'addRowAbove', 'addRowBelow', 'deleteRow', 'deleteColumn']"
data-bind="value:description"></textarea>