vertical-replace
Type: Operation
Vertically replace a node.
Removes the content of the selection if it is not empty, then inserts the given structure as close to the selection as possible. The structure is inserted under the closest ancestor node that will allow it. The operation will split ancestor elements as necessary, if allowed by their configured family, but will always prefer to exit an element if no content needs to be skipped to do so.
Imported operation data
child
Node Structure (Required)
Type: StencilJsonML
A stencil describing the structure to be inserted.
[insert
At End=false] (Required)
Type: Boolean
True to insert the structure at the end of the current selection. Defaults to inserting at the start.
[model]
(Required)
Type: Object
(Optional) model to be bound to the stencil after insertion
[override
Range] (Required)
Type: OverrideRange
The range to operate on instead of the selectionRange
[ultimate
Parent Node Id] (Required)
Type: NodeId
The highest ancestor of the insertion position under which the insertion can take place. By default, all ancestors of the insertion position are considered.