enable Rich text editor to include flex css styles | Community
Skip to main content
Level 2
Dec 2, 2021 4:26 PM UTC
Solved

enable Rich text editor to include flex css styles

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 ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Dec 2, 2021 6:34 PM UTC

Hi,

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

 

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Dec 2, 2021 6:34 PM UTC

Hi,

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

 

Translate
Arun Patidar