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

Fix clipboard and prevent browser from interfering with shortcuts #51

Merged
merged 6 commits into from
Mar 21, 2021

Conversation

catruge
Copy link
Collaborator

@catruge catruge commented Mar 14, 2021

Hello. This pull request should fix the clipboard functionality on Linux and Windows. It also adds a call to Event.prototype.preventDefault when an object that can capture a keypress is found. This prevents the browser from capturing shortcuts used by anim like ctrl + l, but will continue to allow the browser to capture shortcuts not used by any object, for example, ctrl + t.

EDIT: I forgot to mention that the branch that would be merged by this pull request is a child of catruge:eqeqeq, so, if both modifications are accepted, #49 should be merged before this pull request.

This was referenced Mar 14, 2021
@catruge catruge merged commit e188e5c into JonComo:master Mar 21, 2021
@catruge catruge deleted the fix-clipboard branch March 21, 2021 20:42
catruge added a commit that referenced this pull request Nov 21, 2022
Fix clipboard and prevent browser from interfering with shortcuts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant