Examples
editor.selectDoc(bStart)
Selects the document. The bStart is a boolean value.
Syntax
editor.selectDoc(bStart)
Parameter
Type: boolean
Optional. True collapses the Range to its start, false to its end. If omitted, it defaults to false.
Example:
var editor1 = new RichTextEditor("#div_editor1");
var img=editor1.document.createElement("IMG");
img.src="/images/editor-image.png";
editor1.insertElement(img);
editor1.selectDoc(img)