Support » Requests and Feedback » Impossible to do nested lists

  • I’ve tried this in the WYSIWYG editor and the standard one in 2.01 and both don’t work. the WYSIWYG will create the list properly, but when you save it always removes the nesting.

    Before save you get this…which is good:

    <ul>
    <li>blah</li>
    <li>blah1</li>
    <li>blah2</li>
    </ul>
    <ul>
    <li>sub blah2</li>
    </ul>

    but after you save, in both editors, you end up with this…which makes nested lists impossible…so sad for the listmakers.

    <ul>
    <li>blah</li>
    <li>blah1</li>
    <li>blah2</li>
    </ul>
    <ul>
    <li>sub blah2</li>
    </ul>

Viewing 8 replies - 1 through 8 (of 8 total)
  • Options > Writing > WordPress should correct invalidly nested XHTML automatically : uncheck it.

    okay, it’s officially impossible to report this problem…I give up…go to your editor and try and do a nested list…or try and do one here in this forum….impossible.

    Jon

    For posting small code snippets, please read carefully the instructions here below the text input area: the “backticks” usually are located on top-left of your keyboard, where ~ [tilde] is.

    Thanks Moshu, I’ll do that, but it’s not invalid XHTML…is it?

    Thanks for cleaning up after me! I’m a zombie.

    I don’t know, Your first example is the same as the second: none of them is nested. This one is nested:
    <ul>
    <li>item1</li>
    <li>item2
    <ul>
    <li>subitem1</li>
    <li>subitem2</li>
    </ul>
    </li>
    <li>item3</li>
    </ul>

    You are right…yours does work!

    I guess you just can’t create them in the WYSISYG editor.

    Basic rule #1: never write code in a wysiwyg gizmo…
    (this is NOT a WP thing – it’s the nature of wysiwyg)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Impossible to do nested lists’ is closed to new replies.