insertHTML(startHtml[, endHtml]) Since: 1.3.5
Inserts some HTML at the position of the current selection.
Info: Using the sceditor.insert() method is the preferred way of inserting HTML into the editor as it checks if the editor is in WYSIWYG or source mode and insert it into the appropriate place.
Syntax
instance.insertHTML(startHtml[, endHtml]);
Parameters
start
Type: String
The HTML to insert.
end
Type: String
Default: null
If specified and there is any text selected, the selected text will be placed between start
and end
.