-
Notifications
You must be signed in to change notification settings - Fork 58
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
Keyboard shortcuts #861
Comments
I've verified that Aztec (Classic Editor) supports basic rich text editing shortcuts (Modifier-B for bold, Modifier-I for italic, etc) both on WPAndroid and WPiOS. |
Do we any sort of mockup that demonstrates this behavior? I'm having a bit of a tough time imagining how this would work on mobile. For example, what sorts of modifiers are we imagining we'd use here? (Obviously, we don't have |
👋 @kmdupr33 !
I think this is addressing the use-case where someone has a bluetooth keyboard connected. |
Oh, sorry it wasn't clear before @kmdupr33 , we are referring to external keyboards here, Bluetooth or otherwise that the user can have connected and press the keyboard shortcuts on. A good example of such usecases would be tablets with keyboard cases. |
While at it, let's scope down to specific shortcuts that would be nice to see implemented first and probably in that order of preference (thanks @iamthomasbishop for suggesting framing a first set of shortcuts):
|
The equivalent here would be I was imagining the link one could be tricky, but really all it needs to do is trigger the link bottom sheet in the same way that tapping on the block toolbar button would. 😄 |
Based on @hypest's comments in slack, I'm hearing that I should focus on Modifier-B, Modifier-I and if there's time, Modifier-K for android. |
👋 @kmdupr33 , Bold, Italic and then undo/redo would be a good order to try and tackle. The insert/edit Link can come after if time allows. Thanks! |
At the moment iOS supports Cmd+B, Cmd+I and Cmd+U. These are available because our Aztec component uses UITextView that supports this by default. One of the issues is that the formatting is triggered on the native component so the format bar is not activated immediately after the keypresses only after writing. |
User requested this here:
4852801-zd-woothemes |
Gutenberg should support at least the basic keyboard shortcuts for rich text formatting.
The text was updated successfully, but these errors were encountered: