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

WordPress Trac noreply at wordpress.org
Sat Feb 1 21:22:48 UTC 2014


#26986: Editor Deletes Empty Spans
--------------------------+------------------------------
 Reporter:  GeJay         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by ocean90:

Old description:

> Based on ticket 22477, it sounded like this was fixed but apparently not.
> My spans have a class and when empty (used for font based icons), they
> are being stripped out when going from text to visual mode with the
> editor. I'm using WordPress 3.8.1. So it appears this was not fixed. An
> example span icon container:
>

> {{{
> <span class="icon-user"></span>
> }}}

New description:

 Based on ticket #22477, it sounded like this was fixed but apparently not.
 My spans have a class and when empty (used for font based icons), they are
 being stripped out when going from text to visual mode with the editor.
 I'm using WordPress 3.8.1. So it appears this was not fixed. An example
 span icon container:


 {{{
 <span class="icon-user"></span>
 }}}

--

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


More information about the wp-trac mailing list