TinyMCE: fix the tooltip for 'alignnone' button on the image toolbar. Props johnbillion, see #30147.
Built from https://develop.svn.wordpress.org/trunk@30385 git-svn-id: http://core.svn.wordpress.org/trunk@30382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b9289e0a3
commit
e5f57d2870
|
@ -967,7 +967,7 @@ final class _WP_Editors {
|
|||
'Insert Read More tag' => __( 'Insert Read More tag' ),
|
||||
'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor
|
||||
'Distraction Free Writing' => __( 'Distraction Free Writing' ),
|
||||
'Remove alignment' => __( 'Remove alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
|
||||
'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -33,7 +33,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
|
|||
alignleft: 'Align left',
|
||||
aligncenter: 'Align center',
|
||||
alignright: 'Align right',
|
||||
alignnone: 'Remove alignment'
|
||||
alignnone: 'No alignment'
|
||||
}, function( tooltip, name ) {
|
||||
var direction = name.slice( 5 );
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue