WordPress.org

Ready to get started?Download WordPress

Forums

Customize UL list in editor (1 post)

  1. martin.kovac
    Member
    Posted 1 year ago #

    How to add styles to editor to generate custom UL list? I know it is possible with this:

    http://alisothegeek.com/2011/05/tinymce-styles-dropdown-wordpress-visual-editor/

    but I want to generate UL list with specific structure. Like this:

    <ul class="icons">
       <li>
          <i class="right"></i>
          List item 1
       </li>
       <li>
          <i class="right"></i>
          List item 2
       </li>
    </ul>

    So I add two lines of text to the editor, then click on specific style and it will generate this HTML code.

    Thanks a lot for help.

Topic Closed

This topic has been closed to new replies.

About this Topic