eZ Platform Discussions

Override rich text


#1

I’m trying to find a solution in order to change the rich text display templates so that the “Title 1” actually creates a h2 tag instead of h1 tag.
In other words I need to shift the other titles as well. Title 2 = h3 etc…

Any idea would be appreciated.


#2

Please check the “Rendering” section in https://www.contextualcode.com/Blog/Using-Rich-Text-custom-classes-and-attributes-in-eZ-Platform. You might use XSL Stylesheets or Converter.