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:
parent
5f041b37bf
commit
7a4c8d8977
|
@ -1042,6 +1042,8 @@ final class _WP_Editors {
|
||||||
'Ctrl + letter:' => __( 'Ctrl + letter:' ),
|
'Ctrl + letter:' => __( 'Ctrl + letter:' ),
|
||||||
'Letter' => __( 'Letter' ),
|
'Letter' => __( 'Letter' ),
|
||||||
'Action' => __( 'Action' ),
|
'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.' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -126,7 +126,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help p {
|
.mce-window .wp-editor-help p {
|
||||||
margin: 7px 0;
|
margin: 8px 0;
|
||||||
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help table {
|
.mce-window .wp-editor-help table {
|
||||||
|
@ -138,7 +139,6 @@
|
||||||
.mce-window .wp-editor-help th {
|
.mce-window .wp-editor-help th {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help td {
|
.mce-window .wp-editor-help td {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -126,7 +126,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help p {
|
.mce-window .wp-editor-help p {
|
||||||
margin: 7px 0;
|
margin: 8px 0;
|
||||||
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help table {
|
.mce-window .wp-editor-help table {
|
||||||
|
@ -138,7 +139,6 @@
|
||||||
.mce-window .wp-editor-help th {
|
.mce-window .wp-editor-help th {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-window .wp-editor-help td {
|
.mce-window .wp-editor-help td {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -273,7 +273,9 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||||
tr({ 'Alt + F9': 'Editor menu (when enabled)' }) +
|
tr({ 'Alt + F9': 'Editor menu (when enabled)' }) +
|
||||||
tr({ 'Alt + F10': 'Editor toolbar' }) +
|
tr({ 'Alt + F10': 'Editor toolbar' }) +
|
||||||
tr({ 'Alt + F11': 'Elements path' }) +
|
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: {
|
buttons: {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue