Examples
editor.insertHTML(text)
This method is used for inserting the specified HTML into a range within an editor document. If anything is selected, the selection is replaced with the new HTML and text.
Syntax
editor.insertHTML(text)
Parameter
Type: String
Required. The text you want to insert.
Example:
var editor1 = new RichTextEditor("#div_editor1");
editor1.insertHTML("<b>hello world</b>");
editor1.collapse(false)