How are you pulling the content out of the RTE onto the template? Presumably using razor or XSLT? Rather than trying to get the rich-text editor to contain a div with a class around its content, I'd just insert a div around the bit of the Razor/XSLT which is inserting the content.
RTE content with containing div
Is there a way of setting up the RTE editor so that all RTE content is inserted into a web page inside a containing div with a specified class?
Trying to avoid doing some remedial work on a large site.
Hi Jules,
How are you pulling the content out of the RTE onto the template? Presumably using razor or XSLT? Rather than trying to get the rich-text editor to contain a div with a class around its content, I'd just insert a div around the bit of the Razor/XSLT which is inserting the content.
Would this do what you need?
is working on a reply...