v5.0.2 editor issues: puts in tags where it shouldn’t
-
HI everyone:
Since installing the new editor, when in “code” view (not block view), I have this little bit of code:
<span style="display:none;"> blah blah blah blah <a href="javascript:hideMeToDo();">click to hide me</a> </span> <style type="text/css"> .mainelement { vertical-align:top; text-align:center; display:inline-block; float:left; border-style:solid; border-width:thin; border-radius:5px; margin:5px; padding:10px; width:180px; height:250px; } </style>
The new block editor, regardless of what I do, ALWAYS changes it to be:
<span style="display:none;"> blah blah blah blah <a href="javascript:hideMeToDo();">click to hide me</a> </span> <style type="text/css"> .mainelement { <br /> vertical-align:top;<br /> text-align:center;<br /> display:inline-block;<br /> float:left;<br /> border-style:solid;<br /> border-width:thin;<br /> border-radius:5px;<br /> margin:5px;<br /> padding:10px;<br /> width:180px;<br /> height:250px;<br /> }<br /> </style>
which causes everything to go haywire!
Why is it putting in <br /> tags where I clearly haven’t had them previously with the classic editor?! Is this another bug in the new editor?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘v5.0.2 editor issues: puts in tags where it shouldn’t’ is closed to new replies.