[wp-trac] [WordPress Trac] #26986: Editor Deletes Empty Spans

WordPress Trac noreply at wordpress.org
Mon Feb 3 08:26:51 UTC 2014


#26986: Editor Deletes Empty Spans
--------------------------+------------------
 Reporter:  GeJay         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  TinyMCE       |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by bcworkz):

 A possible workaround is insert the HTML entity for soft-hyphen `­` in
 the otherwise empty span. It gets converted the to UTF-8 character if that
 is your charset, which takes up no space, so it's like it is not there,
 but it keeps the span from disappearing because it is not actually empty.

 It could still foul up the icon placement, I didn't test that far. Worth a
 try anyway?

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


More information about the wp-trac mailing list