[wp-trac] [WordPress Trac] #41129: Editor remove html code and css class added in Text mode

WordPress Trac noreply at wordpress.org
Thu Jun 22 17:52:51 UTC 2017


#41129: Editor remove html code and css class added in Text mode
---------------------------+-----------------------------
 Reporter:  rinkuyadav999  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  4.8
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 When i add below code in Text mode and switch to Visual mode, Editor
 remove span and class.


 {{{
 Some <span class="fa fa-fa"></span> <a href="#">Cool</a> rights.
 }}}

 To reproduce:
 Create a new post
 Switch to Text mode
 Copy past above code
 Switch to Visual
 Switch to Text

 There will be not


 {{{
 <span class="fa fa-fa"></span>
 }}}

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


More information about the wp-trac mailing list