Skip to content

Commit

Permalink
fix Shift+P and shift+E shortcuts to work on inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
kof committed Dec 21, 2024
1 parent 0f8668f commit 65826fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/builder/app/builder/shared/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,17 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({
handler: () => {
$publishDialog.set("publish");
},
disableHotkeyOnFormTags: true,
disableHotkeyOnContentEditable: true,
},
{
name: "openExportDialog",
defaultHotkeys: ["shift+E"],
handler: () => {
$publishDialog.set("export");
},
disableHotkeyOnFormTags: true,
disableHotkeyOnContentEditable: true,
},
{
name: "toggleComponentsPanel",
Expand Down

0 comments on commit 65826fb

Please sign in to comment.