Make WordPress Core

Ticket #28328: 28328.14.patch

File 28328.14.patch, 1.1 KB (added by afercia, 11 years ago)
  • src/wp-admin/css/edit.css

     
    378378        overflow: hidden;
    379379}
    380380
     381/* DFW Adjustments */
     382.wp-fullscreen-wrap #content-textarea-clone {
     383        display: none;
     384}
     385
     386/* DFW visual mode: override paddingTop set by editor-expand.js */
     387.wp-fullscreen-wrap .mce-edit-area {
     388        padding-top: 0 !important;
     389}
     390/* DFW text mode: override paddingTop set by editor-expand.js */
     391.wp-fullscreen-wrap .wp-editor-area {
     392        padding-top: 10px !important;
     393}
     394
    381395#timestampdiv select {
    382396        height: 21px;
    383397        line-height: 14px;
  • src/wp-admin/js/post.js

     
    10601060                $textarea.css( 'resize', 'none' );
    10611061
    10621062                $handle.on( 'mousedown.wp-editor-resize', function( event ) {
     1063
     1064                        if ( $contentWrap.hasClass( 'wp-editor-expand' ) ) {
     1065                                return;
     1066                        }
     1067
    10631068                        if ( typeof tinymce !== 'undefined' ) {
    10641069                                editor = tinymce.get('content');
    10651070                        }