removeNodes

Type: Function

Attempts to remove the given nodes from the dom.

Refer to primitives for more information on how to include this primitive.

Arguments

  1. nodes

    (Required)

    Type: Array<Node>

    The nodes to remove

  2. blueprint

    (Required)

    Type: Blueprint

    The Blueprint in which to apply the operation

  3. format

    (Required)

    Type: Format

    The Format for the document

  4. validateOnly

    (Required)

    Type: Boolean

    Whether to use validation or synthesis after the removal. By default, synthesis is used. It should be noted that this may restore the deleted node in some cases.

    Default value

Returns

Type: Boolean

Whether the operation was successful