diff options
author | ThibG <thib@sitedethib.com> | 2020-06-09 10:32:32 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-06-09 11:14:20 +0200 |
commit | 00cd919750c5b159c9ed4213f18683f1a7cafb94 (patch) | |
tree | 1c789a068dfd19f9e6aab7cd768fe81fd40b7eb4 /app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js | |
parent | 5e07deefc1cf8b24910cafd44d5cdbd067846bcb (diff) |
[Glitch] Add hotkey for toggling content warning composer field
Port 6b6a9d0ea362f4e301b56ae817f6c5d1761234b6 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js index 0bb71e872..abc3f468f 100644 --- a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js +++ b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js @@ -106,6 +106,10 @@ class KeyboardShortcuts extends ImmutablePureComponent { <td><FormattedMessage id='keyboard_shortcuts.toot' defaultMessage='to start a brand new toot' /></td> </tr> <tr> + <td><kbd>alt</kbd>+<kbd>x</kbd></td> + <td><FormattedMessage id='keyboard_shortcuts.spoilers' defaultMessage='to show/hide CW field' /></td> + </tr> + <tr> <td><kbd>backspace</kbd></td> <td><FormattedMessage id='keyboard_shortcuts.back' defaultMessage='to navigate back' /></td> </tr> |