unsafe Move Character Data
Type: Function
Move a portion of characterData from one characterDataNode to another.
Unsafe, do not use directly. The "unsafe" part in this function only refers to the fact that the function does not do any validation, in contrast to primitives that always guarantee a schema-valid result on an unmodified blueprint.
Arguments
character
Data Node To Move (Required)
Type: Node
The node to move characterData from
start
Offset (Required)
Type: Number
The start from where to move
end
Offset (Required)
Type: Number
The end of the moving
blueprint
(Required)
Type: Blueprint
The blueprint in which to perform the move
new
Parent (Required)
Type: Node
The target of the move
destination
Offset (Required)
Type: Number
The offset to start inserting the moved text from