Ticket #38849: 38849.patch
| File 38849.patch, 1.2 KB (added by , 9 years ago) |
|---|
-
src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
963 963 } 964 964 965 965 if ( args.toolbar ) { 966 if ( activeToolbar !== args.toolbar ) { 967 activeToolbar = args.toolbar; 968 activeToolbar.show(); 969 } else { 970 activeToolbar.reposition(); 971 } 966 activeToolbar = args.toolbar; 967 activeToolbar.reposition(); 968 activeToolbar.show(); 972 969 } else { 973 970 activeToolbar = false; 974 971 } -
src/wp-includes/js/tinymce/plugins/wpview/plugin.js
190 190 ] ); 191 191 192 192 editor.on( 'wptoolbar', function( event ) { 193 if ( isView( event.element ) ) {193 if ( ! event.collapsed && isView( event.element ) ) { 194 194 event.toolbar = toolbar; 195 195 } 196 196 } );