Join the Webstudio community

Updated 6 months ago

Rich text formatting

At a glance
Hello,
I want to ask you for help with styling pretty huge chunk of text."Terms and Conditions" and such stuff.

If I copy it right from our current webpage, it provides me a very detailed structure in Webstudio. I want to avoid that, so I am copying it without formatting. After a paste there is a lot of formatting ahead.

Is there any simple way how to avoid repetitive style of work - so I do not manually style every paragraph and every heading (with its margins and so on) one by one?

I see the token opportunity but is there any other easier way to handle this task? I have many more pages like this.

Thanks in advance!
Attachment
Screenshot_2024-08-04_at_16.22.46.png
J
F
O
5 comments
For spacing I'd use flex gap on the parent. And for paragraph I'd set the font size and color on the page wrapper. so all children inherit it. Still some manual work ahead with headings but that should remove a lot of it.

Some features in the pipeline should combat this though
Thanks a lot, that is pretty clever!
Another option is to get your original content with html text and then use Content Embed and bind that text as code property and you got tag based styling options
same as you would get from a cms
Add a reply
Sign up and join the conversation on Discord