Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle native undo/redo #3115

Merged
merged 1 commit into from
Jul 25, 2020
Merged

Handle native undo/redo #3115

merged 1 commit into from
Jul 25, 2020

Commits on Jul 24, 2020

  1. Handle native undo/redo

    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.
    luin committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    474f081 View commit details
    Browse the repository at this point in the history