diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 45c3c13387..62872d2d2a 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -19,7 +19,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { } function toggleToolbars( state ) { - var iframe, initial, toolbars, + var initial, toolbars, pixels = 0, classicBlockToolbar = tinymce.$( '.block-library-classic__toolbar' ); @@ -437,7 +437,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { editor.addButton( 'wp_add_media', { tooltip: 'Add Media', icon: 'dashicon dashicons-admin-media', - cmd: 'WP_Medialib', + cmd: 'WP_Medialib' } ); editor.addMenuItem( 'add_media', {