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

🐛 Fixed j and k keys not working in editor after visiting Tags screen #1002

Merged
merged 1 commit into from Apr 9, 2018

Conversation

kevinansfield
Copy link
Collaborator

closes TryGhost/Ghost#9543

  • Bower => NPM #972 moved keymaster from Bower to NPM but version 1.6.3 is not published to NPM and it contains fixes for unbinding multiple keys (eg, 'down, j': 'moveDown'). Switched to fetching directly from github to ensure we have the latest version
  • removed the "has registered shortcuts" guard added in Prevent keymaster bindings from causing failed tests #976 - it was working around the buggy keymaster version but was also buggy itself because it meant shortcuts could only be registered the first time a route was loaded even though we unregister all of the shortcuts when leaving the route

…reen

closes TryGhost/Ghost#9543
- TryGhost#972 moved `keymaster` from Bower to NPM but version 1.6.3 is not published to NPM and it contains fixes for unbinding multiple keys (eg, `'down, j': 'moveDown'`). Switched to fetching directly from github to ensure we have the latest version
- removed the "has registered shortcuts" guard added in TryGhost#976 - it was working around the buggy keymaster version but was also buggy itself because it meant shortcuts could only be registered the first time a route was loaded even though we unregister all of the shortcuts when leaving the route
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 72.211% when pulling b6bb42b on kevinansfield:fix-keymaster into f0fe23d on TryGhost:master.

@kevinansfield kevinansfield merged commit 2c48cd6 into TryGhost:master Apr 9, 2018
@kevinansfield kevinansfield deleted the fix-keymaster branch April 9, 2018 12:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants