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: Image paste from webflow (#3743)

Ivan Starkovf3a625f96f20
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
index 3cdcdb5a82..2797aacb9e 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
@@ -202,7 +202,7 @@ const WfElementNode = z.union([
type: z.enum(["Image"]),
data: WfNodeData.extend({
attr: Attr.extend({
- alt: z.string(),
+ alt: z.string().optional(),
loading: z.enum(["lazy", "eager", "auto"]),
src: z.string(),
width: z.string(),