Make WordPress Core

Changeset 32957


Ignore:
Timestamp:
06/26/2015 06:48:02 PM (10 years ago)
Author:
azaozz
Message:

TinyMCE: add the editor focusing help the Keyboard Shortcuts modal.
See #31913.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

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

    r32951 r32957  
    10431043            'Letter' => __( 'Letter' ),
    10441044            'Action' => __( 'Action' ),
     1045            'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' =>
     1046                __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ),
    10451047        );
    10461048
  • trunk/src/wp-includes/css/editor.css

    r32956 r32957  
    127127
    128128.mce-window .wp-editor-help p {
    129     margin: 7px 0;
     129    margin: 8px 0;
     130    white-space: normal;
    130131}
    131132
     
    139140    font-size: 13px;
    140141    vertical-align: middle;
    141    
    142142}
    143143
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r32951 r32957  
    274274                        tr({ 'Alt + F10': 'Editor toolbar' }) +
    275275                        tr({ 'Alt + F11': 'Elements path' }) +
    276                     '</table></div>'
     276                    '</table>' +
     277                    '<p>' + __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ) + '</p>' +
     278                    '</div>'
    277279                )
    278280            },
Note: See TracChangeset for help on using the changeset viewer.