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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix a bug where copy/paste doesn't work for inputs
Roman Pominovec6b335403b1
diff --git a/apps/designer/app/canvas/shared/use-shortcuts.ts b/apps/designer/app/canvas/shared/use-shortcuts.tsindex 52ba409c46..29972b5730 100644--- a/apps/designer/app/canvas/shared/use-shortcuts.ts+++ b/apps/designer/app/canvas/shared/use-shortcuts.ts@@ -138,11 +138,18 @@ export const useShortcuts = () => {useHotkeys(shortcuts.preview, shortcutHandlerMap.preview, options, []);- useHotkeys(shortcuts.copy, shortcutHandlerMap.copy, options, [+ useHotkeys(+ shortcuts.copy,shortcutHandlerMap.copy,- ]);-- useHotkeys(shortcuts.paste, shortcutHandlerMap.paste, options, []);+ { ...options, enableOnTags: [...inputTags] },+ []+ );+ useHotkeys(+ shortcuts.paste,+ shortcutHandlerMap.paste,+ { ...options, enableOnTags: [...inputTags] },+ []+ );useHotkeys(shortcuts.breakpoint, shortcutHandlerMap.breakpoint, options, []);useHotkeys(shortcuts.zoom, shortcutHandlerMap.zoom, options, []);