Add Hotkeys for backend
At the T3UXW15 we get the feedback, that hotkeys would be a great addition for some actions in the backend.
The following hotkeys were defined while UXW:
- CTRL + S or CMD + S save current record
- ALT + S or OPTION + S save and close
- ALT + V or OPTION + V save and view
- ALT + N or OPTION + N save and new
Apache 2 is not compatible with GPL2, but we get an approval by the author to use the library within TYPO3. Many thanks to Craig for this exception.
Updated by Claus Due over 4 years ago
ALT + V or OPTION + V save and view
Just out of interest, what did the UXW come to as conclusion regarding this being a collision with the key you normally use to paste (including potential issues with RTEs catching that input)?
Personally I'd prefer if another key was chosen simply for the fact that "V" usually means paste, not view.
Also: do we really need a JS library to catch keyboard events? I seem to recall this is a trivial matter to implement even with vanilla JS.
Updated by Lukas Winkler about 3 years ago
If you are looking for a workaround until TYPO3 supports shortcuts, I wrote a browser extension that adds a few shortcuts (that can be customized) to common use cases:
Firefox Extension: https://addons.mozilla.org/de/firefox/addon/typo3-keyboard-control/
For now, it is just in German, but if there is some interest, I can quickly translate it into English.
EDIT: There is now an English translation.
PS: the mousetrap library has now a license exception that makes it compatible with Apache 2, so there should be no issue with integrating it into TYPO3