unsafeMoveCharacterData

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

  1. characterDataNodeToMove

    (Required)

    The node to move characterData from

  2. startOffset

    (Required)

    Type: Number

    The start from where to move

  3. endOffset

    (Required)

    Type: Number

    The end of the moving

  4. blueprint

    (Required)

    Type: Blueprint

    The blueprint in which to perform the move

  5. newParent

    (Required)

    The target of the move

  6. destinationOffset

    (Required)

    Type: Number

    The offset to start inserting the moved text from