mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 20:13:35 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2903 Here added support for new `<ws:descendent />` component. It allows to style any children or descendents of components. Primary usage is for embed content which renders html and need to style tags. Descendent component accepts "selector" prop which can be suffix like ` img`, ` .image` or `::first-child` pseudo-element. Potentially it could be used as tag styling for any element. Can be tested in any element by dropping "Descendent" component from "internal" category.
Webstudio SDK
Webstudio SDK is a TypeScript API that lets you use your Webstudio project or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site