editor filtering code
-
Hi!
In all of my WP installs, 2 of them the latest 2.12, the wysiwyg editor messes up the div tags I insert in code view and changes them to p tags. It just adds a paragraph tag and a no breking space in between them. What is this? I’m a programmer and all that, but want to use the wysiwyg editor anyway. Is there an easy way to get into the regexp filtering of the editor?Here’s what i want to do with the wysiwyg editor on, but in html mode:
<div class="column"> first column </div> <div class="column"> second column </div>It turns into something like this after I save and open it again:
<p class="column"> </p> first column <p class="column"> </p> second columnAs you can see, this gets serious from a layout point of view. It happens if I open a previous post which is correct and validated.
I’ve tried to dig into the TinyMCE files, but couldn’t find what I was looking for (yet)
I’ve also tried posting questions about this here and there. Any hints anyone? (except “turn the wysiwyg editor off”)
The topic ‘editor filtering code’ is closed to new replies.