Documentation

editor.getEditable()

Returns the root element of the editable area.

Syntax

editor.getEditable()

Return value

Type: HTMLElement

The root element of the editable area.

Example usage

var editor1 = new RichTextEditor("#div_editor1");   
editor1.setHTMLCode("hello world");  
var element=editor1.getEditable();  
element.style.color="red";