Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently our editor listens on the common hotkeys (cmd+z / cmd+shift+z) for undo/redo but the user could always undo using native browser UI like right-click, the edit topbar menu, and on mobile iOS there is a toolbar, and the native undo usually does not do the right thing. Most modern browsers support `beforeinput` to interrupt native undo/redo inputs so we'll use this to handle them natively.
- Loading branch information