update

Serializes the current state of the editable area to the <textarea> element. This method should be called after modifying the editor content through the DOM.

Example

<textarea id="editor"></textarea>
<script>
var textarea = $("#editor");
textarea.kendoEditor({ value: "Hello, " });
var editor = textarea.data("kendoEditor");
editor.body.appendChild(editor.document.createTextNode("World"));
console.log(textarea.val()); // logs "Hello, "
editor.update();
console.log(textarea.val()); // logs "Hello, World"
</script>
In this article
Not finding the help you need? Improve this article