TinyMCE: add the editor focusing help the Keyboard Shortcuts modal.

See #31913.
Built from https://develop.svn.wordpress.org/trunk@32957


git-svn-id: http://core.svn.wordpress.org/trunk@32928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-06-26 18:49:25 +00:00
parent 5f041b37bf
commit 7a4c8d8977
9 changed files with 13 additions and 9 deletions

View File

@ -1042,6 +1042,8 @@ final class _WP_Editors {
'Ctrl + letter:' => __( 'Ctrl + letter:' ),
'Letter' => __( 'Letter' ),
'Action' => __( 'Action' ),
'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.' =>
__( '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.' ),
);
/**

View File

@ -126,7 +126,8 @@
}
.mce-window .wp-editor-help p {
margin: 7px 0;
margin: 8px 0;
white-space: normal;
}
.mce-window .wp-editor-help table {
@ -138,7 +139,6 @@
.mce-window .wp-editor-help th {
font-size: 13px;
vertical-align: middle;
}
.mce-window .wp-editor-help td {

File diff suppressed because one or more lines are too long

View File

@ -126,7 +126,8 @@
}
.mce-window .wp-editor-help p {
margin: 7px 0;
margin: 8px 0;
white-space: normal;
}
.mce-window .wp-editor-help table {
@ -138,7 +139,6 @@
.mce-window .wp-editor-help th {
font-size: 13px;
vertical-align: middle;
}
.mce-window .wp-editor-help td {

File diff suppressed because one or more lines are too long

View File

@ -273,7 +273,9 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
tr({ 'Alt + F9': 'Editor menu (when enabled)' }) +
tr({ 'Alt + F10': 'Editor toolbar' }) +
tr({ 'Alt + F11': 'Elements path' }) +
'</table></div>'
'</table>' +
'<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>' +
'</div>'
)
},
buttons: {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32956';
$wp_version = '4.3-alpha-32957';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.