Skip Navigation
Remove Styles From Rich Text Content
Answer ID 12430   |   Last Review Date 09/26/2022

What styles are removed when checking the "Remove styles definitions" in Content Creation?


  • Oracle B2C Service
  • Sites with Knowledge Advanced only, all versions
  • Authoring, Content Creation for Rich Text Boxes


"Remove styles definitions" can be used to remove the styles from the content. It removes inline style reference, css class reference and font tags present in the Rick Text Area.

If "Remove styles definitions" is checked then below operations will be performed.

1. Removes inline styles if present .
If user enters a tag as "<h1 style="color:blue;">A Blue Heading</h1>" then it will get converted into <h1>A Blue Heading</h1>
2. font tag will be removed if presents.
If user enters "<font color="red" face=" " size="12px"></font>" then it will be converted into "Content...."
3. Any css classes reference will be removed if present.
Example :
If user enters "<p class="ping">A red paragraph.</p>" then it will get converted into "<p>A red paragraph.</p>"

Note : "Remove styles definitions" is not applied on entire document . It is specific to only that particular Rick Text Area.