瀏覽代碼

Add Select All shortcut (#1270)

Lipis 5 年之前
父節點
當前提交
60d9567e2d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/components/ShortcutsDialog.tsx

+ 4 - 0
src/components/ShortcutsDialog.tsx

@@ -154,6 +154,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
           </ShortcutIsland>
           <ShortcutIsland title={t("shortcutsDialog.editor")}>
             <Shortcut
+              title={t("labels.selectAll")}
+              shortcuts={[getShortcutKey("CtrlOrCmd+A", "")]}
+            />
+            <Shortcut
               title={t("labels.copy")}
               shortcuts={[getShortcutKey("CtrlOrCmd+C", "")]}
             />