Function: InsertNode()
July 5, 2026 ยท View on GitHub
Function: InsertNode()
InsertNode<
T>(editor,node,position?):void
Defined in: commands.ts:42
Insert node at the caret or specified position.
Type Parameters
T
T extends DocNode
Parameters
editor
Editor<T>
node
position?
number = ...
Returns
void