@mocanvas/editor · interface

TLHistoryMark

interface TLHistoryMark

A boundary between undo steps.

Marks are what make an undo step mean something to a person: without them, every store write would undo separately and a single drag would take fifty presses to reverse. id is what bailToMark and squashToMark address.


Properties · 2

id: string
type: "mark"

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.