Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

enable Rich text editor to include flex css styles

Avatar

Level 2

When I add the below in RTE source code editor and click on save, text component removes the style.

<div style="flex:1 3 33%">test</div>

 

I am able to add other styles like font-weight, color.. But only this "flex" style seems to cause this issue.

Any suggestions on how to enable this in RTE or turn off the RTE validation ? 

1 Reply

Avatar

Community Advisor

Hi,

you should check the CSS validation processing rules at /libs/cq/xssprotection/config.xml