Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix deleting input instance using backspace/delete

Oleg Isonen1b9821dc0af9
diff --git a/app/canvas/shared/use-shortcuts.ts b/app/canvas/shared/use-shortcuts.ts
index 2c57d6e016..592cb0b2c0 100644
--- a/app/canvas/shared/use-shortcuts.ts
+++ b/app/canvas/shared/use-shortcuts.ts
@@ -17,6 +17,7 @@ export const useShortcuts = ({ rootInstance }: { rootInstance: Instance }) => {
},
});
},
+ { enableOnTags: ["INPUT", "SELECT", "TEXTAREA"] },
[instance]
);