mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Fix tab button on the write screen in Opera, add tabindex to the menu, don't 'lock' the tab key between the title and the editor. Fixes #8197
git-svn-id: https://develop.svn.wordpress.org/trunk@9784 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1528,18 +1528,19 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
||||
// < {
|
||||
if (e.which == 9 && !e.shiftKey && !e.controlKey && !e.altKey) {
|
||||
if ( (jQuery("#post_ID").val() < 1) && (jQuery("#title").val().length > 0) ) { autosave(); }
|
||||
if ( tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden() ) {
|
||||
tinyMCE.activeEditor.focus();
|
||||
if ( tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden() && dotabkey ) {
|
||||
e.preventDefault();
|
||||
dotabkey = false;
|
||||
tinyMCE.activeEditor.focus();
|
||||
return false;
|
||||
}
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user