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

WordPress Trac noreply at wordpress.org
Tue Jan 20 19:05:39 UTC 2015


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

Comment (by thierryouellet):

 Replying to [comment:6 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?

 Hey bcworkz,

 I know this post is old but I just tested your technique and it works
 perfect! Thanks for the great tip.

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


More information about the wp-trac mailing list