delete Text In Range
Type: Function
Delete a piece of the given textNode
Refer to primitives for more information on how to include this primitive.
Arguments
text
Node (Required)
Type: Node
The textNode to partially delete
range
To Delete (Required)
Type: BlueprintRange
Range to delete from the textnode. Should either have its startContainer, its endContainer or both being the textNode
blueprint
(Required)
Type: Blueprint
The blueprint to use for the delete
format
(Required)
Type: Format
The format containing the validator, synthesizer and the metadata to use
Returns
Type: Boolean
The success of the delete