insert-next-to-context-node
Type: Operation
Insert the given childNodeStructure after or before the node with the given contextNodeId based on the given side
Imported operation data
context
Node Id (Required)
Type: NodeId
The id of the node after which the new structure is inserted.
child
Node Structure (Required)
Type: StencilJsonML
A stencil describing the structure to be inserted.
[model]
(Required)
Type: Object
(Optional) model to be bound to the stencil before insertion.
[override
Range] (Required)
Type: OverrideRange
The range to set the selection in as defined by the stencil instead of the selectionRange
side
(Required)
Type: String
Either 'before' or 'after', to indicate where the childNodeStructure will be inserted in relation to the context node.