From 65826fb03c4a4e1b2f09cc9d188c63eea0bfc8aa Mon Sep 17 00:00:00 2001 From: Oleg Isonen Date: Sat, 21 Dec 2024 23:40:24 +0000 Subject: [PATCH] fix Shift+P and shift+E shortcuts to work on inputs --- apps/builder/app/builder/shared/commands.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/builder/app/builder/shared/commands.ts b/apps/builder/app/builder/shared/commands.ts index 85521775bdb5..66d6369ad309 100644 --- a/apps/builder/app/builder/shared/commands.ts +++ b/apps/builder/app/builder/shared/commands.ts @@ -299,6 +299,8 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({ handler: () => { $publishDialog.set("publish"); }, + disableHotkeyOnFormTags: true, + disableHotkeyOnContentEditable: true, }, { name: "openExportDialog", @@ -306,6 +308,8 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({ handler: () => { $publishDialog.set("export"); }, + disableHotkeyOnFormTags: true, + disableHotkeyOnContentEditable: true, }, { name: "toggleComponentsPanel",