Visual Editor – Ordered Lists Problem
-
Anybody else notice this problem?
1. I create an ordered list in the Visual Editor.
2. I switch to the HTML editor so I can add a paragraph of text (or an image) within the ordered list, but NOT inside a list tag.
3. I return to the Visual Editor and notice something doesn’t look right.
4. I go back to the HTML editor and see that my ordered list is now all messed up. Extra ordered list tags have been added that I don’t want.
Here’s the code from the HTML editor BEFORE I switched back to the Visual Editor:
<ol> <li>Ordered list item 1</li> Block of text inserted into list but not inside an li tag. <li>Ordered list item 2</li> <li>Ordered list item 3</li> <li>Ordered list item 4</li> </ol>
Here’s the code after switching to the Visual Editor and then back to the HTML editor:
<ol> <ol> <li>Ordered list item 1</li> </ol> </ol> Block of text inserted into list but not inside an li tag. <ol> <li>Ordered list item 2</li> <li>Ordered list item 3</li> <li>Ordered list item 4</li> </ol>
This has worked before. I’ve written many posts that include images and text within ordered lists and have never had this problem before. I’ve tried it with WP 3.2 and WP 3.2.1 and both have this trouble. Any suggestions how to fix it?
- The topic ‘Visual Editor – Ordered Lists Problem’ is closed to new replies.