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

WordPress Trac noreply at wordpress.org
Thu Dec 27 20:45:38 UTC 2012


#22477: The WYSIWYG editor deletes all empty <span> tags
--------------------------+--------------------
 Reporter:  hali6sic6     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  TinyMCE       |     Version:  3.4.2
 Severity:  major         |  Resolution:
 Keywords:  close         |
--------------------------+--------------------

Comment (by nacin):

 Per IRC with azaozz:

  * Deleting <span> tags is not a regression. Leave this for 3.6 or later.
 We can possibly submit a patch for TinyMCE's DomParser to leave
 removeEmpty elements that still have certain other attributes (`class`,
 specifically) just as it handles `id` and `name`.

  * For 3.5.1, revert
 https://github.com/tinymce/tinymce/commit/6e2a6b5ff657f58c66859256f4ad87f4d9f27423
 to restore TinyMCE 3.4.9 (and WP 3.4) behavior. We should be able to make
 this change in our wp-tinymce-schema.js file.

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


More information about the wp-trac mailing list