[wp-trac] [WordPress Trac] #29171: empty (and valid) span tags are removed when switching from visual to text editor and back to visual

WordPress Trac noreply at wordpress.org
Mon Jul 1 09:31:02 UTC 2019


#29171: empty (and valid) span tags are removed when switching from visual to text
editor and back to visual
-------------------------------------+-------------------------
 Reporter:  ruud@…                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  TinyMCE                  |     Version:  3.9
 Severity:  normal                   |  Resolution:  worksforme
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Future Release =>


Comment:

 Similarly to #28940, this is now superseded by the block editor. Closing
 as worksforme, please feel free to reopen if it makes sense to attempt to
 fix this in TinyMCE.

 The proposed fixes above (padding empty spans inside the contenteditable
 area) should still work but would potentially bring edge cases in Chromium
 browsers as they are known to insert many empty spans in certain cases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29171#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list