[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code

WordPress Trac noreply at wordpress.org
Wed Jun 21 19:44:12 UTC 2017


#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+-----------------------
 Reporter:  dwrippe       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.8.1
Component:  Widgets       |     Version:  4.8
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by programmin):

 To my knowledge TinyMCE has always done some odd stuff to html code (eg
 #41049 #20943 etc.), which is the reason many people plug code into the
 text widget in the first place! Seems MCE is taking out css class names,
 removing entire empty elements etc.

 https://www.zigpress.com/2017/06/14/the-wordpress-4-8-text-widget-will-
 destroy-your-content/

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


More information about the wp-trac mailing list