<textareaid="editor"></textarea><script>$("#editor").kendoEditor({value:"<p>foo</p>"});var editor =$("#editor").data("kendoEditor");/* The result can be observed in the DevTools(F12) console of the browser. */console.log(editor.encodedValue());// logs "<p>foo</p>"</script>