diff --git a/packages/web/src/commands/stdCommands.ts b/packages/web/src/commands/stdCommands.ts index d774f1570..84360afce 100644 --- a/packages/web/src/commands/stdCommands.ts +++ b/packages/web/src/commands/stdCommands.ts @@ -646,12 +646,12 @@ export function registerFileCommands({ }); } - if(copyPaste) { + if (copyPaste) { registerCommand({ id: idPrefix + '.copy', category, name: 'Copy', - keyText: 'CtrlOrCommand+C', + disableHandleKeyText: 'CtrlOrCommand+C', testEnabled: () => getCurrentEditor() != null, onClick: () => getCurrentEditor().copy(), }); @@ -659,10 +659,10 @@ export function registerFileCommands({ id: idPrefix + '.paste', category, name: 'Paste', - keyText: 'CtrlOrCommand+V', + disableHandleKeyText: 'CtrlOrCommand+V', testEnabled: () => getCurrentEditor() != null, onClick: () => getCurrentEditor().paste(), - }) + }); } if (findReplace) { diff --git a/packages/web/src/tabs/QueryTab.svelte b/packages/web/src/tabs/QueryTab.svelte index 212f106d2..d24f0233e 100644 --- a/packages/web/src/tabs/QueryTab.svelte +++ b/packages/web/src/tabs/QueryTab.svelte @@ -1,6 +1,6 @@