insertNodeAt(start) Since: 1.3.5
Inserts a DOM node at the start or end of the current selection.
Warning!
The DOM node must belong to the document it is being inserted into. If it belongs to another document an error will be thrown.
Syntax
instance.insertNodeAt(start, node);
Parameters
start
Type: Boolean
If to insert the node at the start or end of the current selection
node
Type: Node
The DOM node to insert.