I like using Anvil for personal projects. In one of my projects, I wanted to use a Rich text component to show a colored <div>
, with rounded corners. When I tried, only two of the corners are rounded. I tried again and again with different combinations. None worked. Then, I looked in the docs and realized that those are not valid arguments. Is it possible to add this as an argument, or is there another solution to this problem?
The RichText component intended usage is to show text created by the user, something he created. That’s why a lot of things are restricted.
If you whe to statically (or dinamically, but made by you, in code) define html to show, you can use the HtmlTemplate.
I had a similar question a few months ago.
Take a look at this post:
1 Like
Thank you for the help!
1 Like