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 31 posts 101 karma points
    Apr 13, 2018 @ 18:00
    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