mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Fix typo in the 'wpeditimage' plugin, see #28705
Built from https://develop.svn.wordpress.org/trunk@29540 git-svn-id: http://core.svn.wordpress.org/trunk@29316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
108266d87a
commit
28bcbcb972
@ -880,7 +880,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
|
|||||||
} else if ( cmd === 'JustifyLeft' || cmd === 'JustifyRight' || cmd === 'JustifyCenter' ) {
|
} else if ( cmd === 'JustifyLeft' || cmd === 'JustifyRight' || cmd === 'JustifyCenter' ) {
|
||||||
node = editor.selection.getNode();
|
node = editor.selection.getNode();
|
||||||
align = cmd.substr(7).toLowerCase();
|
align = cmd.substr(7).toLowerCase();
|
||||||
align = 'align' + align,
|
align = 'align' + align;
|
||||||
DL = dom.getParent( node, 'dl.wp-caption' );
|
DL = dom.getParent( node, 'dl.wp-caption' );
|
||||||
|
|
||||||
removeToolbar();
|
removeToolbar();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user