encodedValue

Gets the HTML encoded value of the editor.

Returns

String The value of the Editor as HTML encoded string.

Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({ value: "<p>foo</p>" });
var editor = $("#editor").data("kendoEditor");
console.log(editor.encodedValue()); // logs "&lt;p&gt;foo&lt;/p&gt;"
</script>
In this article
Not finding the help you need?