RelocateStep.node
property · packages/richtext/src/transaction.ts:299
readonly node: NodeIdRich text / foldkit-richtext
interface · packages/richtext/src/transaction.ts:298
interface RelocateStep {
readonly node: NodeId
readonly into: NodeId
readonly at: number
readonly base: number
}Merge relocation: offsets >= at move to into with base + offset - at; lower offsets stay. Affinity is preserved, not consulted: the source location ceases to exist, so every endpoint must move.
RelocateStep.nodeproperty · packages/richtext/src/transaction.ts:299
readonly node: NodeIdRelocateStep.intoproperty · packages/richtext/src/transaction.ts:300
readonly into: NodeIdRelocateStep.atproperty · packages/richtext/src/transaction.ts:301
readonly at: numberRelocateStep.baseproperty · packages/richtext/src/transaction.ts:302
readonly base: number