wrap In Single Element
Type: Function
Attempts to wrap the content of the given range in the given element.
Refer to primitives for more information on how to include this primitive.
Arguments
range
To Wrap (Required)
Type: BlueprintRange
The range to wrap
wrapper
Element (Required)
Type: Element
The element in which to wrap, should be empty
wrap
Under Node (Required)
Type: Node | NULL
If not null, the wrapping will not be applied above this node
blueprint
(Required)
Type: Blueprint
The blueprint in which to perform the operation
format
(Required)
Type: Format
The format used to validate the resul
reference
Node (Required)
Type: Node | NULL
The node before which to place the nodes, or null to place the nodes at the end of wrapperElement
Returns
Type: Boolean
Whether the operation was successful