Copied to clipboard

Flag this post as spam?

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


  • Jules 205 posts 448 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 1250 posts 3747 karma points admin 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?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies