insert-after-selection

Type: Operation

Insert a structure after the current selection, as a child of the node identified with contextNodeId

Imported operation data

  1. contextNodeId

    (Required)

    Type: NodeId

    The id of the node which is to become the parent of the new structure.

  2. childNodeStructure

    (Required)

    A stencil describing the structure to be inserted.

  3. model

    (Optional)

    Type: Object

    (Optional) model to be bound to the stencil before insertion.

  4. overrideRange

    (Optional)

    The range to set the selection in as defined by the stencil instead of the selectionRange