Keyboard shortcuts
-
So first everyone was like "NOOO DON'T STEAL MY BROWSER SHORTCUTS I WANT CTRL+F TO ZOOM IN AND PASTE A PICTURE OF GRUMPY CAT"
and now everyone's like "I HATE MY BROWSER TAKE ITS JOB WITH YOUR JAVASCRIPTS AND YOUR NODEBBS"
So which is it? What keyboard shortcuts do we actually want?
-
Ctrl+Enter, Ctrl+B, Ctrl+I. I don't see the need for anything else personally.
-
@ben_lubar said in Keyboard shortcuts:
So which is it? What keyboard shortcuts do we actually want?
If the composer is focused, the shortcuts for that should be enabled.
I don't care much for the navigation shortcuts, but ctrl+enter is mandatory.
Remember that the only thing you heard the last time was the vocal minority.
-
@ben_lubar said in Keyboard shortcuts:
So first everyone was like "NOOO DON'T STEAL MY BROWSER SHORTCUTS I WANT CTRL+F TO ZOOM IN AND PASTE A PICTURE OF GRUMPY CAT"
"everybody" is "ONE PERSON".
Then Ben L went and did it without asking anybody else's opinions.
Same way he made the "decision" to enable the broken onebox plugin again.
-
@blakeyrat said in Keyboard shortcuts:
"everybody" is "ONE PERSON".
False, there were several people that complained.
Just as there were several people that wanted the onebox plugin back.
-
A bigger issue than lacking keyboard shortcuts is that the bold and italics buttons are still broken if your selection has a trailing or leading space.
-
Make them customizable.
-
@swayde said in Keyboard shortcuts:
If the composer is focused, the shortcuts for that should be enabled.
I don't care much for the navigation shortcuts, but ctrl+enter is mandatory.
Remember that the only thing you heard the last time was the vocal minority.^^ This. ^^
-
@blakeyrat said in Keyboard shortcuts:
A bigger issue than lacking keyboard shortcuts is that the bold and italics buttons are still broken if your selection has a trailing or leading space.
Or the fact that the styles can't be toggled. I dare you to try it.
-
@abarker And Cmd+Enter on OSX would be very nice too. Yes, there's a Ctrl key, but using it for ordinary shortcuts feels strange.
It'd be even nicer if the on-screen keyboard worked as well (since then I could more easily insert exotic characters ) but I think that's a general nodeBB problem that isn't simply fixable with a plugin.
-
@dkf There doesn't seem to be a way to assign multiple shortcuts to a single action.
-
@dkf said in Keyboard shortcuts:
It'd be even nicer if the on-screen keyboard worked as well (since then I could more easily insert exotic characters ) but I think that's a general nodeBB problem that isn't simply fixable with a plugin.
Wait, what? How does the OSK not work? Isn't it like the windows one that will send commands to whatever program you have focused?
-
@swayde Strictly, the OSK app works but the character viewer app (“useful” for those interesting things in Unicode) doesn't. Fuck knows what's happening.
-
-
@dkf said in Keyboard shortcuts:
Fuck knows what's happening.
And it's using a
<textarea>
like it ought to too. I'm guessing that this is a problem on the Javascript side, such as assuming that the only way that a character can be added is by a keypress event…
-
@dkf please don't tell me they eat the events and emit the 🔤...
It does work on my phone, and it seems to submit text just fine (I don't think it emulates keypresses)
-
@dkf ⁈ Character viewer works here (OSX 10.11.4, Chromium)
-
CTRLL in the composer is a shortcut for the Link button.