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: avoid using global color for head slot and xml (#5342)

Bogdan Chadkind7e757b59b13
diff --git a/packages/sdk-components-react/src/xml-node.tsx b/packages/sdk-components-react/src/xml-node.tsx
index 6bc6cda9cb..09c7d4c040 100644
--- a/packages/sdk-components-react/src/xml-node.tsx
+++ b/packages/sdk-components-react/src/xml-node.tsx
@@ -88,6 +88,7 @@ export const XmlNode = forwardRef<ElementRef<"div">, Props>(
style={{
display: isTextChild ? "inline" : "block",
marginLeft: isTextChild ? 0 : "1rem",
+ color: "#000000",
}}
>
{children}