Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Disable default HTML undo/redo in UI input boxes #231

Open
Rec1dite opened this issue Oct 5, 2023 · 1 comment
Open

Disable default HTML undo/redo in UI input boxes #231

Rec1dite opened this issue Oct 5, 2023 · 1 comment
Assignees

Comments

@Rec1dite
Copy link
Collaborator

Rec1dite commented Oct 5, 2023

Chromium has built in undo/redo for certain UI elements, which conflicts with our own undo/redo system, because each time you 'undo' with the Chromium system, it counts as a new action for the Blix undo system. We just need to intercept the ctrl+z/ctrl+y events on the UI elements and preventDefault()

@Rec1dite
Copy link
Collaborator Author

Rec1dite commented Oct 5, 2023

@Klairgo Klairgo self-assigned this Oct 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants