[wp-trac] [WordPress Trac] #40640: code changed between visual and text views

WordPress Trac noreply at wordpress.org
Wed May 3 02:43:04 UTC 2017


#40640: code changed between visual and text views
--------------------------+------------------------
 Reporter:  sninad        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  4.7.4
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 This was previously covered in #35953 and #27858

 The Visual editor which we use disables the `on*` attributes for security
 purposes, #27858 links to a filter/plugin which you can utilise to change
 the behaviour if required.

 I'd highly suggest for your use-case to consider a plugin & shortcode
 solution rather than attempting to put the HTML/CSS/JS directly into the
 post.

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


More information about the wp-trac mailing list