Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions accessibility/keyboardui.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@ function getShortcuts() {
keys: `${mod} + Enter`,
category: translate('shortcut_category_editor'),
},
{
label: translate('shortcut_toggle_block_toolbar'),
keys: `H`,
category: translate('shortcut_category_editor'),
},
{
label: translate('shortcut_duplicate_block'),
keys: `D`,
Expand Down
1 change: 1 addition & 0 deletions locale/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ export default {
shortcut_toolbox_typing: 'Zur Kategorie springen',
shortcut_toolbox_typing_hint: 'Namen eintippen',
shortcut_context_menu: 'Kontextmenü öffnen',
shortcut_toggle_block_toolbar: 'Block-Hinweisleiste ein-/ausblenden',
shortcut_duplicate_block: 'Block duplizieren',
shortcut_detach_block: 'Block trennen',
shortcut_comment_block: 'Kommentar ein-/ausblenden',
Expand Down
1 change: 1 addition & 0 deletions locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@ export default {
shortcut_toolbox_typing: 'Skip to category',
shortcut_toolbox_typing_hint: 'Start typing its name',
shortcut_context_menu: 'Open context menu',
shortcut_toggle_block_toolbar: 'Show/hide block hint toolbar',
shortcut_duplicate_block: 'Duplicate block',
shortcut_detach_block: 'Detach block',
shortcut_comment_block: 'Show/hide comment',
Expand Down
1 change: 1 addition & 0 deletions locale/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,7 @@ export default {
shortcut_toolbox_typing: 'Ir a la categoría',
shortcut_toolbox_typing_hint: 'Empieza a escribir su nombre',
shortcut_context_menu: 'Abrir menú contextual',
shortcut_toggle_block_toolbar: 'Mostrar/ocultar la barra de sugerencias del bloque',
shortcut_duplicate_block: 'Duplicar bloque',
shortcut_detach_block: 'Desconectar bloque',
shortcut_comment_block: 'Mostrar/ocultar comentario',
Expand Down
1 change: 1 addition & 0 deletions locale/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,7 @@ export default {
shortcut_toolbox_typing: 'Aller à la catégorie',
shortcut_toolbox_typing_hint: 'Commencez à taper son nom',
shortcut_context_menu: 'Ouvrir le menu contextuel',
shortcut_toggle_block_toolbar: "Afficher/masquer la barre d'astuces du bloc",
shortcut_duplicate_block: 'Dupliquer le bloc',
shortcut_detach_block: 'Détacher le bloc',
shortcut_comment_block: 'Afficher/masquer le commentaire',
Expand Down
1 change: 1 addition & 0 deletions locale/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ export default {
shortcut_toolbox_typing: 'Vai alla categoria',
shortcut_toolbox_typing_hint: 'Inizia a digitare il nome',
shortcut_context_menu: 'Apri menu contestuale',
shortcut_toggle_block_toolbar: 'Mostra/nascondi la barra dei suggerimenti del blocco',
shortcut_duplicate_block: 'Duplica blocco',
shortcut_detach_block: 'Stacca blocco',
shortcut_comment_block: 'Mostra/nascondi commento',
Expand Down
1 change: 1 addition & 0 deletions locale/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ export default {
shortcut_toolbox_typing: 'Przejdź do kategorii',
shortcut_toolbox_typing_hint: 'Zacznij wpisywać jej nazwę',
shortcut_context_menu: 'Otwórz menu kontekstowe',
shortcut_toggle_block_toolbar: 'Pokaż/ukryj pasek podpowiedzi bloku',
shortcut_duplicate_block: 'Duplikuj blok',
shortcut_detach_block: 'Odłącz blok',
shortcut_comment_block: 'Pokaż/ukryj komentarz',
Expand Down
1 change: 1 addition & 0 deletions locale/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ export default {
shortcut_toolbox_typing: 'Ir para a categoria',
shortcut_toolbox_typing_hint: 'Comece a digitar o nome',
shortcut_context_menu: 'Abrir menu de contexto',
shortcut_toggle_block_toolbar: 'Mostrar/ocultar a barra de dicas do bloco',
shortcut_duplicate_block: 'Duplicar bloco',
shortcut_detach_block: 'Desconectar bloco',
shortcut_comment_block: 'Mostrar/ocultar comentário',
Expand Down
1 change: 1 addition & 0 deletions locale/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,7 @@ export default {
shortcut_toolbox_typing: 'Hoppa till kategori',
shortcut_toolbox_typing_hint: 'Börja skriva dess namn',
shortcut_context_menu: 'Öppna snabbmeny',
shortcut_toggle_block_toolbar: 'Visa/dölj blockets tipsfält',
shortcut_duplicate_block: 'Duplicera block',
shortcut_detach_block: 'Koppla loss block',
shortcut_comment_block: 'Visa/dölj kommentar',
Expand Down
7 changes: 7 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2394,6 +2394,13 @@ svg.blocklyTrashcanFlyout {
opacity: 0.3;
}

/* Passive keyboard hint in the block toolbar (the "press M to move" icon).
Styled like a button so it lines up with its badge, but inert. */
.fc-block-toolbar-hint {
pointer-events: none;
cursor: default;
}

.fc-block-toolbar-btn--delete {
color: #c0392b;
}
Expand Down
Loading
Loading