Reputation: 950
How to switch between the rich-text editor mode and text/HTML editor mode on Kendo Editor?
Upvotes: 1
Views: 1736
Reputation: 4139
The Editor has a built-in viewHtml
tool, which can be used for raw HTML editing.
http://docs.telerik.com/kendo-ui/api/javascript/ui/editor#configuration-tools
<textarea id="editor">
<p>I am a paragraph.</p>
</textarea>
<script>
$("#editor").kendoEditor({
tools: [
"viewHtml"
]
});
</script>
Upvotes: 2