TinyMCE: manually fire `ExecCommand` when aligning images as we do `preventDefault()` on `BeforeExecCommand` for them. Props avryl, fixes #30565.
Built from https://develop.svn.wordpress.org/trunk@30748 git-svn-id: http://core.svn.wordpress.org/trunk@30738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3826c2de6a
commit
91b8617f29
|
@ -1124,6 +1124,12 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
|
|||
if ( floatingToolbar ) {
|
||||
floatingToolbar.reposition();
|
||||
}
|
||||
|
||||
editor.fire( 'ExecCommand', {
|
||||
command: cmd,
|
||||
ui: event.ui,
|
||||
value: event.value
|
||||
} );
|
||||
}
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30747';
|
||||
$wp_version = '4.1-beta2-30748';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue