Accesskeys in tinymce, such as Alt + Shift + Q to focus the toolbar area don't seem to be working - The code to add the relevant html seems to be getting called, but trying to use the accesskeys has no effect. I have tested this in firefox 3, IE7 and Chrome 1.0.154.53, using tinymce 3.2.2, drupal 6.10, wysiwyg 6.x-1.1.

Cheers,

Rane

Comments

sun’s picture

Status: Active » Closed (won't fix)

Most probably a bug in TinyMCE itself.

ranebow’s picture

It works in the accessibility example they have here: http://tinymce.moxiecode.com/examples/example_17.php.

Guess I will have to dig into the code...

ranebow’s picture

Status: Closed (won't fix) » Active

It seems to happen if this code is called:

// Make toolbar buttons wrappable (required for IE).
ed.onPostRender.add(function (ed) {
var $toolbar = $('

');
$('#' + ed.editorContainer + ' table.mceToolbar > tbody > tr > td').each(function () {
$('

').addClass(this.className).append($(this).children()).appendTo($toolbar);
});
$('#' + ed.editorContainer + ' table.mceLayout td.mceToolbar').append($toolbar);
$('#' + ed.editorContainer + ' table.mceToolbar').remove();
});

in tinymce-3.js

obviously ie won't work without this...

ranebow’s picture

I sort of have a fix, though it's a bit of a hack - I added the following

 var $toolbar = $('<div class="wysiwygToolbar"><a href="#" accesskey="q"><!--- IE---></a></div>');

in tinymce-3.js, and removed the line that creates the accesskey link in editor_template...

sun’s picture

Status: Active » Closed (duplicate)

This is caused by the current fake-aligning of editor buttons.

Marking as duplicate of #277954: Allow to sort editor buttons. You can follow up on that issue instead to track its status. If any information from this issue is missing in the other issue, please make sure you provide it over there.

However, thanks for taking the time to report this issue.