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.

experimental: fix webflow validation error (#3742)

Bogdan Chadkind7a46f3c4f91
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx
index ab48a5bccc..8e81dcd004 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx
@@ -685,6 +685,7 @@ test("QuickStack with instance styles", async () => {
noPseudo: {
gridTemplateColumns: "1fr 1fr",
gridTemplateRows: "auto",
+ order: 1,
},
},
},
@@ -731,7 +732,8 @@ test("QuickStack with instance styles", async () => {
}
Local {
grid-template-columns: 1fr 1fr;
- grid-template-rows: auto
+ grid-template-rows: auto;
+ order: 1
}
w-layout-cell {
flex-direction: column;
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 49fc5a57a2..3cdcdb5a82 100644
--- a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts
@@ -10,7 +10,7 @@ const stylePseudo = z.string();
const styleProperty = z.string();
-const styleValue = z.string();
+const styleValue = z.unknown();
const WfNodeData = z.object({
attr: Attr.optional(),