Ticket #28328: 28328.10.patch
File 28328.10.patch, 1.4 KB (added by , 11 years ago) |
---|
-
Gruntfile.js
230 230 'wp-includes/js/plupload/wp-plupload.js', 231 231 'wp-includes/js/tinymce/plugins/wordpress/plugin.js', 232 232 'wp-includes/js/tinymce/plugins/wp*/plugin.js', 233 '!wp-includes/js/tinymce/plugins/wpautoresize/plugin.js', 233 234 // Third party scripts 234 235 '!wp-admin/js/farbtastic.js', 235 236 '!wp-includes/js/backbone*.js', -
src/wp-admin/js/editor-expand.js
1 /* global tinymce */ 1 2 2 3 window.wp = window.wp || {}; 3 4 … … 15 16 $bottom = $( '#post-status-info' ), 16 17 $statusBar, 17 18 buffer = 200, 18 adjust,19 19 fullscreen = window.wp.editor && window.wp.editor.fullscreen, 20 20 editorInstance, 21 21 fixedTop = false, … … 285 285 $top.css( { 286 286 position: 'fixed', 287 287 top: adminBarHeight + toolsHeight, 288 width: editorWidth - ( visual ? 0 : 38),288 width: $editor.parent().width() - ( $top.outerWidth() - $top.width() ), 289 289 borderTop: '1px solid #e5e5e5' 290 290 } ); 291 291 … … 329 329 borderTop: 'none', 330 330 width: $contentWrap.width() 331 331 } ); 332 } 332 } 333 333 } 334 334 335 335 // Maybe adjust the bottom bar.