]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/plugins/wpautoresize/plugin.js
WordPress 4.1
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / plugins / wpautoresize / plugin.js
index dc1f524437f4a9507ba6a6f8e303410b7956b6c5..38ee2f8ed31c99e74e2718cff6ee86279d5c8a47 100644 (file)
@@ -117,7 +117,7 @@ tinymce.PluginManager.add( 'wpautoresize', function( editor ) {
                                resize( e );
                        }
 
-                       editor.fire( 'wp-autoresize', { height: resizeHeight } );
+                       editor.fire( 'wp-autoresize', { height: resizeHeight, deltaHeight: e.type === 'nodechange' ? deltaSize : null } );
                }
        }