WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24150, comment 7


Ignore:
Timestamp:
08/16/13 00:45:16 (8 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24150, comment 7

    initial v1  
    1 TinyMCE has [http://www.tinymce.com/wiki.php/Configuration:tabfocus_elements a setting] to control what happens when the user tabs out of the editor iframe. For the main editor this is set to `insert-media-button,save-post` and can be changed from PHP in `tinymce_before_init`, or JS in `tinymce.get('content').settings.tabfocus_elements`. Note that the default value `:prev,:next` doesn't work consistently on that screen. 
     1TinyMCE has [http://www.tinymce.com/wiki.php/Configuration:tabfocus_elements a setting] to control what happens when the user tabs out of the editor iframe. For the main editor this is set to `insert-media-button,save-post` as the "Add Media" button is before the editor and the "Publish" postbox is next in the html. 
     2 
     3This can be changed from PHP in `tinymce_before_init`, or JS in `tinymce.get('content').settings.tabfocus_elements`. Note that changing the "natural" flow of tabbing usually hurts accessibility. Also the default value `:prev,:next` doesn't work consistently on that screen. 
     4