webstudio-is / webstudio

Open Source alternative to Webflow, check out our CMS launch https://webstudio.is/cms
https://webstudio.is
GNU Affero General Public License v3.0
3.95k stars 379 forks source link

Support CMS Rich Text Class Styling #3265

Open johnsicili opened 1 month ago

johnsicili commented 1 month ago

In my CMS I want to define a custom component, give it classes, and use the Westudio Style Panel to apply styles to the classes.

Example: Callout

<div class="callout">
    <img src="/note.svg" class="callout-icon">
    <p class="callout-text">Hello World</p>
</div>

Then in Webstudio I want to say .callout apply a background for example.

TrySound commented 1 month ago

Would support only tags at first