Make WordPress Core

Ticket #28328: 28328.11.patch

File 28328.11.patch, 1.4 KB (added by iseulde, 11 years ago)
  • Gruntfile.js

     
    230230                                        'wp-includes/js/plupload/wp-plupload.js',
    231231                                        'wp-includes/js/tinymce/plugins/wordpress/plugin.js',
    232232                                        'wp-includes/js/tinymce/plugins/wp*/plugin.js',
     233                                        '!wp-includes/js/tinymce/plugins/wpautoresize/plugin.js',
    233234                                        // Third party scripts
    234235                                        '!wp-admin/js/farbtastic.js',
    235236                                        '!wp-includes/js/backbone*.js',
  • src/wp-admin/js/editor-expand.js

     
     1/* global tinymce */
    12
    23window.wp = window.wp || {};
    34
     
    1516                $bottom = $( '#post-status-info' ),
    1617                $statusBar,
    1718                buffer = 200,
    18                 adjust,
    1919                fullscreen = window.wp.editor && window.wp.editor.fullscreen,
    2020                editorInstance,
    2121                fixedTop = false,
     
    285285                        $top.css( {
    286286                                position: 'fixed',
    287287                                top: adminBarHeight + toolsHeight,
    288                                 width: editorWidth - ( visual ? 0 : 38 ),
     288                                width: $editor.parent().width() - ( $top.outerWidth() - $top.width() ),
    289289                                borderTop: '1px solid #e5e5e5'
    290290                        } );
    291291
     
    329329                                        borderTop: 'none',
    330330                                        width: $contentWrap.width()
    331331                                } );
    332                         }                               
     332                        }
    333333                }
    334334
    335335                // Maybe adjust the bottom bar.