Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jules 276 posts 587 karma points
    Mar 30, 2014 @ 11:55
    Jules
    0

    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.

     

  • Dan 1288 posts 3921 karma points c-trib
    Mar 30, 2014 @ 12:29
    Dan
    1

    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?

Please Sign in or register to post replies

Write your reply to:

Draft