Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

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

 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

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

 



Arun Patidar