Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Add prevent binding keyboard shortcut to shortcuts dialog (#2010)

Michal Srb85d000ccda22
diff --git a/src/components/ShortcutsDialog.tsx b/src/components/ShortcutsDialog.tsx
index 40d812e4f9..acd7167ae8 100644
--- a/src/components/ShortcutsDialog.tsx
+++ b/src/components/ShortcutsDialog.tsx
@@ -224,6 +224,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
isOr={false}
/>
<Shortcut label={t("toolBar.lock")} shortcuts={["Q"]} />
+ <Shortcut
+ label={t("shortcutsDialog.preventBinding")}
+ shortcuts={[getShortcutKey("CtrlOrCmd")]}
+ />
</ShortcutIsland>
<ShortcutIsland caption={t("shortcutsDialog.view")}>
<Shortcut
diff --git a/src/locales/en.json b/src/locales/en.json
index 7c0b47646f..f40857794f 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -177,7 +177,8 @@
"github": "Found an issue? Submit",
"textNewLine": "Add new line (text)",
"textFinish": "Finish editing (text)",
- "zoomToFit": "Zoom to fit all elements"
+ "zoomToFit": "Zoom to fit all elements",
+ "preventBinding": "Prevent arrow binding"
},
"encrypted": {
"tooltip": "Your drawings are end-to-end encrypted so Excalidraw's servers will never see them."