WordPress Editor and raw html
-
I am developing a new WordPress site and am having trouble with the editor.
I have a page that contains several unordered lists. I place a [p]Description[/p] line just inside each opening [ul] tag.[ul] [p]Description for this list[/p] [li]List Item One[/li] [li]List Item Two[/li] ... [/ul]
Not only does this make for easy (classless) CSS formatting, but it is completely valid HTML!
The problem occurs when I change to Visual Mode in the editor: The [p]…[/p] just inside the [ul] tag gets moved above [ul] tag. Now why in the world would the editor do that?
I’ve tried the common plugins that claim to preserve Raw HTML, but they just don’t work in this case!
Does anyone know how this issue might be corrected? Why can’t the editor just leave the HTML alone, so long as the HTML is valid?
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘WordPress Editor and raw html’ is closed to new replies.