Skip to main content
Level 2
December 2, 2021
Beantwortet

enable Rich text editor to include flex css styles

  • December 2, 2021
  • 1 Antwort
  • 964 Ansichten

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 ? 

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von arunpatidar

Hi,

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

 

1 Antwort

arunpatidar
Community Advisor
Community Advisor
December 2, 2021

Hi,

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

 

Arun Patidar