[wp-trac] [WordPress Trac] #22477: The WYSIWYG editor deletes all empty <span> tags

WordPress Trac noreply at wordpress.org
Sat Dec 15 03:31:23 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         |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 azaozz]:
 > `<span></span>`, `<div></div>`, even `<p></p>` are not displayed in the
 browser. If they have any attributes, they are not removed.

 From my testing, `<div></div>` actually persists even without an
 attribute.

 However, `<span class="test"></span>` disappears anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22477#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list