How To Stop Stripping Div Tags in HTML/Visual Editor
-
In the HTML editor if I enter:
<div class=”mycontent-wrapper”>
<div class=”mycontent-top-bar”></div>
<div class=”mycontent”>blah blah blah</div>
<div class=”mycontent-btm-bar”></div>
</div>then click on the “Visual” editor tab and back on the “HTML” tab I see:
<div class=”mycontent-wrapper”>
<div class=”mycontent”>blah blah blah</div>
</div>Why are the “mycontent-top” and “mycontent-btm” div’s no longer there? Is this a documented “feature” of WordPress?
Searching I see other folks have had the same problem but I’m not finding any solutions. Is there a fix or plugin to stop this behavior?
Thanks,
DAN
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How To Stop Stripping Div Tags in HTML/Visual Editor’ is closed to new replies.