Editor: use <button> instead of <a> for the Visual/Text buttons, make them focusable. Props afercia, fixes #27553
Built from https://develop.svn.wordpress.org/trunk@30002 git-svn-id: http://core.svn.wordpress.org/trunk@30002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1432,11 +1432,11 @@ table.links-table {
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
a.wp-switch-editor {
|
||||
button.wp-switch-editor {
|
||||
font-size: 16px;
|
||||
line-height: 1em;
|
||||
margin: 3px 7px 0 0;
|
||||
padding: 12px 15px;
|
||||
margin: 7px 7px 0 0;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
#wp-content-media-buttons a {
|
||||
|
||||
@@ -1432,11 +1432,11 @@ table.links-table {
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
a.wp-switch-editor {
|
||||
button.wp-switch-editor {
|
||||
font-size: 16px;
|
||||
line-height: 1em;
|
||||
margin: 3px 0 0 7px;
|
||||
padding: 12px 15px;
|
||||
margin: 7px 0 0 7px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
#wp-content-media-buttons a {
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -504,7 +504,7 @@ if ( post_type_supports($post_type, 'editor') ) {
|
||||
<?php wp_editor( $post->post_content, 'content', array(
|
||||
'dfw' => true,
|
||||
'drag_drop_upload' => true,
|
||||
'tabfocus_elements' => 'insert-media-button,save-post',
|
||||
'tabfocus_elements' => 'content-html,save-post',
|
||||
'editor_height' => 300,
|
||||
'tinymce' => array(
|
||||
'resize' => false,
|
||||
|
||||
Reference in New Issue
Block a user