keyboard shortcuts for Move, Source, Edit, Create
under review
l eed
Hello,
Thank you for considering keyboard shortcuts in WikiJS. (This will definitely help our handicapped users! Thank you so much!).
Can you also consider a optimized <TAB> for creating new pages for example (an optimized easy to tab through to quickly edit or create new pages would work too!).
Really appreciate your support and work over the years (v2.0 is amazing!), please consider adding keyboard support, (IEEE is also slowly working to help our handicapped users as well with KeybNav @ https://ieeexplore.ieee.org/abstract/document/8336057).
Kind regards to you and your team!
S
Sascha Brockel
Is there a list of all available shortcuts? I'm hardly looking for the Code shortcut...
L
Leo Arruda
Please, new, edit and save shortcuts would make a huge difference!
Bash Stack
at least "new page" is missing ...
Nicolas Giard
under review
Nicolas Giard
Keyboard shortcuts are usually to be avoided as they can conflict with various browser implementations or user-specific bindings. However an option could be to let the user define the shortcuts he wants in his settings page.
Travis Pulley
Nicolas Giard: And yet there's one bound to Ctrl-S of all things? I'd hack it myself in the source and be done with it if I could just figure out where. This isn't an issue that needs to be dodged, just address it head-on.
Nicolas Giard
Travis Pulley: Yes and some users have complained about this binding, which is why I'd rather not set any by default and let the user opt-in on these and choose their shortcuts.
Lars Solberg
Nicolas Giard: shortcuts on web are often bound to stuff like "G N", pressing G first, then N. Lots of pages does it this way, then maps pressing "?" to bring up the list of shortcuts. Go to github.com and press ?, to see a very good example..
Travis Pulley
Nicolas Giard: I'd complain about it too, and also about not being able to find shortcut business in the source, and also about not having shortcuts at all to enhance productivity where I need them, the way that MediaWiki has done successfully for so long. Now that there's a nice JS lib for interfacing with MediaWiki, it's a lot more compelling for people who want JS capabilities from their wiki.
Travis Pulley
Especially coming from wikimedia and expecting to use Alt-e so frequently, I especially miss having a shortcut for "edit". Ctrl-e would invoke search in the title bar of the browser, I think.
Using Ctrl as a modifier is problematic because so many of those keys are bound to the browser, but Alt is a legit choice.
I looked in the source code and couldn't figure out how the keyboard shortcuts work, but I took at swing at doing this myself and didn't get far.