[wp-trac] [WordPress Trac] #32160: WYSIWYG editor deletes span without class or id

WordPress Trac noreply at wordpress.org
Tue Apr 28 08:36:23 UTC 2015


#32160: WYSIWYG editor deletes span without class or id
--------------------------+-----------------------------
 Reporter:  Nikschavan    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 span tags disappear even if they have text inside them if they don't have
 any class name of id.

 Steps to reproduce -

 1. Add any text with spans around them in the text editor, For eg add
 following text -

 {{{
 <span>Span around this text will disappear</span><span id="myId">Span
 around this will not disappear</span><span class="price">And here, span
 around this will not disappear</span>
 }}}

 2. Switch to visual mode and again back to text mode.
 3. Span without class name or if will disappear.

 I am using WordPress trunk version (4.3-alpha-32297)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32160>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list