Examples
editor.insertText(text)
This method is used for inserting the specified plain text into editor document.
Syntax
editor.insertText(text)
Parameter
Type: String
Required. The specified plain text to insert.
Example:
var editor1 = new RichTextEditor("#div_editor1");
editor1.insertText("hello world");
editor1.collapse(false)