Type: Operation

Insert the given childNodeStructure after or before the node with the given contextNodeId based on the given side

Imported operation data

  1. contextNodeId


    Type: NodeId

    The id of the node after which the new structure is inserted.

  2. childNodeStructure


    A stencil describing the structure to be inserted.

  3. model


    Type: Object

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

  4. overrideRange


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

  5. side


    Type: String

    Either 'before' or 'after', to indicate where the childNodeStructure will be inserted in relation to the context node.