Make WordPress Core


Ignore:
Timestamp:
07/22/2012 02:33:53 AM (12 years ago)
Author:
azaozz
Message:

TinyMCE: fix tabbig in and out of the editor, fixes #20834

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r21218 r21300  
    3535            'textarea_rows' => get_option('default_post_edit_rows', 10), // rows="..."
    3636            'tabindex' => '',
     37            'tabfocus_elements' => ':prev,:next', // the previous and next element ID to move the focus to when pressing the Tab key in TinyMCE
    3738            'editor_css' => '', // intended for extra styles for both visual and Text editors buttons, needs to include the <style> tags, can use "scoped".
    3839            'editor_class' => '', // add extra class(es) to the editor textarea
     
    312313                    'entities' => '38,amp,60,lt,62,gt',
    313314                    'accessibility_focus' => true,
    314                     'tabfocus_elements' => 'title,publish',
    315315                    'media_strict' => false,
    316316                    'paste_remove_styles' => true,
     
    399399                'theme_advanced_buttons3' => implode($mce_buttons_3, ','),
    400400                'theme_advanced_buttons4' => implode($mce_buttons_4, ','),
     401                'tabfocus_elements' => $set['tabfocus_elements'],
    401402                'body_class' => $body_class
    402403            );
Note: See TracChangeset for help on using the changeset viewer.