unsafeInsertNodes

Type: Function

Inserts an amount of nodes on the given position. If the position happens to be a characterData node, the characterData node is split to make way for the node.

Unsafe, do not use directly. The "unsafe" part in this function only refers to the fact that the function does not do any validation, in contrast to primitives that always guarantee a schema-valid result on an unmodified blueprint.

Arguments

  1. nodesToInsert

    (Required)

    Type: Array<Node>

    The nodes which should be inserted

  2. positionToInsert

    (Required)

    The position at which the node should be inserted

  3. blueprint

    (Required)

    Type: Blueprint

    The blueprint in which the insertion should take place