blockly > Workspace > clearUndo

Workspace.clearUndo() method

Clear the undo/redo stacks.

Signature:

clearUndo(): void;

Returns:

void