Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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