docs: added shape cycling shortcut in helper dialog (#9465)

* docs: added shape cycling shortcut in helper dialog

- Document Tab and Shift+Tab usage for shape cycling

* docs: added shape cycling shortcut in helper dialog

* Update packages/excalidraw/components/HelpDialog.tsx

* Update packages/excalidraw/locales/en.json

---------

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Gowtham Selvaraj 2025-05-01 15:42:45 +05:30 committed by GitHub
parent 195a743874
commit 192c4e7658
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -247,6 +247,11 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
label={t("toolBar.link")} label={t("toolBar.link")}
shortcuts={[getShortcutKey("CtrlOrCmd+K")]} shortcuts={[getShortcutKey("CtrlOrCmd+K")]}
/> />
<Shortcut
label={t("toolBar.convertElementType")}
shortcuts={["Tab", "Shift+Tab"]}
isOr={true}
/>
</ShortcutIsland> </ShortcutIsland>
<ShortcutIsland <ShortcutIsland
className="HelpDialog__island--view" className="HelpDialog__island--view"

View file

@ -298,7 +298,8 @@
"laser": "Laser pointer", "laser": "Laser pointer",
"hand": "Hand (panning tool)", "hand": "Hand (panning tool)",
"extraTools": "More tools", "extraTools": "More tools",
"mermaidToExcalidraw": "Mermaid to Excalidraw" "mermaidToExcalidraw": "Mermaid to Excalidraw",
"convertElementType": "Toggle shape type"
}, },
"element": { "element": {
"rectangle": "Rectangle", "rectangle": "Rectangle",