TinyMCE: add the editor focusing help the Keyboard Shortcuts modal.
See #31913. git-svn-id: https://develop.svn.wordpress.org/trunk@32957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
82d937a96e
commit
8b77a613c1
|
@ -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.' ),
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue