Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

restoreBlockChange

restoreBlockChange(document, change, side): void

Writes change’s before or after back into document, its legend characters with it, as an undo and a redo do.

Parameter Type
document EditableBlockRows
change BlockChange
side "after" | "before"

void