mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 23:25:50 +01:00
DFW: revert adding the 'image' button, images are edited in the media modal. See #24067.
Built from https://develop.svn.wordpress.org/trunk@27391 git-svn-id: http://core.svn.wordpress.org/trunk@27239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c67c9565f1
commit
2ccc89edfd
@ -528,9 +528,6 @@
|
|||||||
case 'unlink':
|
case 'unlink':
|
||||||
s.editor.execCommand('unlink');
|
s.editor.execCommand('unlink');
|
||||||
break;
|
break;
|
||||||
case 'image':
|
|
||||||
s.editor.execCommand('mceImage');
|
|
||||||
break;
|
|
||||||
case 'help':
|
case 'help':
|
||||||
s.editor.execCommand('WP_Help');
|
s.editor.execCommand('WP_Help');
|
||||||
break;
|
break;
|
||||||
|
2
wp-admin/js/wp-fullscreen.min.js
vendored
2
wp-admin/js/wp-fullscreen.min.js
vendored
File diff suppressed because one or more lines are too long
@ -897,7 +897,6 @@ final class _WP_Editors {
|
|||||||
'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'both' => false ),
|
'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'both' => false ),
|
||||||
'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ),
|
'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ),
|
||||||
'wp-media-library' => array( 'title' => __('Media library (Alt + Shift + M)'), 'both' => true ),
|
'wp-media-library' => array( 'title' => __('Media library (Alt + Shift + M)'), 'both' => true ),
|
||||||
'image' => array( 'title' => __('Insert/edit image'), 'both' => false ),
|
|
||||||
'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'both' => true ),
|
'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'both' => true ),
|
||||||
'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ),
|
'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ),
|
||||||
'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'both' => false ),
|
'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'both' => false ),
|
||||||
|
Loading…
Reference in New Issue
Block a user