[wp-trac] [WordPress Trac] #17992: Wrong Tooltip in the Editor
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 9 18:43:26 UTC 2011
#17992: Wrong Tooltip in the Editor
--------------------------+-----------------------
Reporter: simsmaster | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.3
Component: TinyMCE | Version: 3.2
Severity: minor | Resolution:
Keywords: dev-feedback |
--------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:10 SergeyBiryukov]:
> In Firefox 7:
>
> 1. Switch to HTML tab.
> 2. Press Alt+Shift+M. quicktags dialog won't open.
> 3. Switch to Visual tab.
> 4. Press Alt+Shift+M. Both thickbox and quicktags dialog will be opened
at the same time.
The problem with FF is that it uses Alt+Shift+[letter] to activate the
`accesskey` attribute for links and buttons and it doesn't seem to be able
to cancel it. On top of that it doesn't trigger properly the `click` event
when executing the accesskeys, so instead of opening the dialog it
highlights the button and the user has to press Enter to "execute" it.
Surprisingly all the accesskeys are triggered when the HTML editor is
hidden...
I'm not sure we can do much from JS to fix this behavior (it doesn't
trigger any of the other buttons too). We could remove all the `accesskey`
attributes when in FF since they trigger errors when the HTML editor is
hidden. The other option would be to load another JS that assigns
new/different keys in Quicktags in FF.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17992#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list