Last chance to get discounted tickets to Codegarden... Price goes up on Tuesday at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

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


  • John Hudiel 12 posts 82 karma points
    1 week ago
    John Hudiel
    0

    Rich text editor styling

    Hi Guys,

    I currently need to wrap my lists in div inside the RTE. However I am having a problem with how the the RTE is behaving when using the style picker.

    It wraps my list like:

    <ul>
    <li>
    <div class="willsLightBullet">sadasd</div>
    </li>
    <li>
    <div class="willsLightBullet">asdasd</div>
    <li>
    <div class="willsLightBullet">asdasd</div>
    </li>
    </ul>
    

    I want it to do something like this:

    <div class="willsLightBullet">
    <ul>
            <li>
            sadasd
            </li>
            <li>
            asdasd
            <li>
            asdasd
            </li>
            </ul>
    </div>
    

    Any ideas on how i can achieve this?

Please Sign in or register to post replies

Write your reply to:

Draft