wrap-context-node-in-structure
Type: Operation
Wrap the given childNodeStructure around the node with the given contextNodeId at the specified transclude gap in the stencil
Imported operation data
context
Node Id (Required)
Type: NodeId
The id of the node around which the new structure is wrapped.
child
Node Structure (Required)
Type: StencilJsonML
A stencil describing the structure to wrap the context node in. Should contain a gap named transclude with the multiple property set to true to indicate where the referenced node should appear. The selection gap may be used to set the selection in the new structure.
[model]
(Required)
Type: Object
(Optional) model to be bound to the stencil before wrapping.
[override
Range] (Required)
Type: OverrideRange
The range to set the selection in as defined by the stencil instead of the selectionRange