clearUndoStackForDocument

Type: Action step

Clear the undo stack, preventing undo for any preceding operations.

Starting with release 7.5, Fonto uses a single undo stack shared between all documents. This means that the contextNodeId argument used in previous versions is now ignored, and all undo stacks are cleared when this action is executed.