[wp-trac] [WordPress Trac] #27858: Bug HTML onmouseover and onmouseout

WordPress Trac noreply at wordpress.org
Fri Aug 1 14:04:01 UTC 2014


#27858: Bug HTML onmouseover and onmouseout
--------------------------+-------------------------
 Reporter:  TTBoS         |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+-------------------------

Comment (by adamsilverstein):

 This seems a bit kudgy, still this is something that needs to be
 addressed. The attributes are stripped when switching from visual to text
 mode, seems like we would need to catch and substitute there, not just on
 saving/loading.

 Replying to [comment:13 azaozz]:
 > There is also another way to keep these attributes inside the editor,
 quite more complex though. We can convert all of the `on*` attributes to
 `data-wp-on*` when loading the post_content and convert them back then
 "saving" the post_content to the textarea.
 >
 > Leaving the ticket on the 4.0 milestone for now in case somebody wants
 to try to make a patch for this.

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


More information about the wp-trac mailing list