[wp-trac] [WordPress Trac] #28173: Add Media shortcut in TinyMCE is not working properly

WordPress Trac noreply at wordpress.org
Mon Aug 25 00:42:04 UTC 2014


#28173: Add Media shortcut in TinyMCE is not working properly
--------------------------+-----------------------------
 Reporter:  freshwebdev   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by azaozz):

 * milestone:  Awaiting Review => 4.0


Comment:

 Confirmed. This is a weird bug. Caused by having `<input type="button"
 accesskey="m"...>` in Quicktags for the "image" button. As there are two
 instances of Quicktags, and the shortcut for activating the accesskeys is
 the same (Alt+Shift+M), the second "image" button is focused which sets
 `window.wpActiveEditor` to `replycontent` (despite that this button is
 usually not visible).

 Are these `accesskey` attributes useful? I don't seem to be able to do
 anything after pressing the keys, at least in Chrome. If they are, we
 would need to fix them somehow for cases where more than one instance of
 Quicktags exists, if at all possible.

 I'll look for a workaround for now. Can decide about the accesskeys in
 4.1.

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


More information about the wp-trac mailing list