body Element

The HTML element which represents the editor content area. In the classic Editor mode, this is the <body> element inside the iframe. In the inline Editor mode, this is the element, from which the Editor is initialized.

Example - set background color and font color to the editor content area

<textarea id="editor"></textarea>
<script>
  $("#editor").kendoEditor();
  var editor = $("#editor").data("kendoEditor");
  editor.body.style.backgroundColor = "#f00";
  editor.body.style.color = "#FFFFFF";
</script>
In this article