Examples
editor.insertElement(element)
Inserts an element. This element must be created by editor.document.
Syntax
editor.insertElement(element)
Parameter
Type: HTMLElement
Required. The new element to insert.
Example:
var editor1 = new RichTextEditor("#div_editor1");
var img=editor1.document.createElement("IMG");
img.src="/images/editor-image.png";
editor1.insertElement(img);