value

Gets or sets the editor value.

Parameters

value String

The value to set.

Returns

String The value of the Editor as HTML string.

Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor();
var editor = $("#editor").data("kendoEditor");
editor.value("<p>New content</p>");
console.log(editor.value()); // logs "<p>New content</p>"
</script>
In this article
Not finding the help you need?