Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy