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.

add an item with acceptsChildren=false

Roman Pominovbed2cfeb281c
diff --git a/apps/designer/app/shared/design-system/components/primitives/dnd/canvas.stories.tsx b/apps/designer/app/shared/design-system/components/primitives/dnd/canvas.stories.tsx
index ee2b3d9a89..d2f2a1132d 100644
--- a/apps/designer/app/shared/design-system/components/primitives/dnd/canvas.stories.tsx
+++ b/apps/designer/app/shared/design-system/components/primitives/dnd/canvas.stories.tsx
@@ -135,7 +135,7 @@ export const Canvas = () => {
},
{ id: "4", style: {}, children: [], acceptsChildren: true },
{ id: "5", style: {}, children: [], acceptsChildren: true },
- { id: "6", style: {}, children: [], acceptsChildren: true },
+ { id: "6", style: {}, children: [], acceptsChildren: false },
]);
const [placement, setPalcement] = useState<{