[wp-trac] [WordPress Trac] #22477: The WYSIWYG editor deletes all empty <span> tags
WordPress Trac
noreply at wordpress.org
Fri Dec 14 22:26:12 UTC 2012
#22477: The WYSIWYG editor deletes all empty <span> tags
--------------------------+------------------------------
Reporter: hali6sic6 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.4.2
Severity: normal | Resolution:
Keywords: close |
--------------------------+------------------------------
Changes (by azaozz):
* keywords: => close
Comment:
Yes, TinyMCE treats all empty elements that don't have meaning in html as
empty space, same as browsers treat them. `<span></span>`, `<div></div>`,
even `<p></p>` are not displayed in the browser. If they have any
attributes, they are not removed.
`< tr>` is invalid html, you can't have a space after the opening `<`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22477#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list