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 insertion

Oleg Isonen5fc69a67c6a6
diff --git a/app/shared/text-editor/nodes/node-instance.tsx b/app/shared/text-editor/nodes/node-instance.tsx
index dc2bfb57f4..1d255e72f6 100644
--- a/app/shared/text-editor/nodes/node-instance.tsx
+++ b/app/shared/text-editor/nodes/node-instance.tsx
@@ -27,7 +27,7 @@ export class InstanceNode extends TextNode {
createDOM(config: EditorConfig) {
const container = super.createDOM(config);
- render(this.options.component, this.container);
+ render(this.options.component, container);
return container;
}