Ticket #5944: editor.js.patch

File editor.js.patch, 0.7 kB (added by azaozz, 6 months ago)
  • wp-admin/js/editor.js

    old new  
    8989            tinyMCE.triggerSave(); 
    9090            ta.style.height = tinyMCE.activeEditor.contentAreaContainer.offsetHeight + 6 + 'px'; 
    9191 
    92             if ( tinymce.isIE6 )  
    93                 ta.style.width = tinyMCE.activeEditor.contentAreaContainer.offsetWidth - 12 + 'px'; 
    94  
    9592            ed.hide(); 
    9693            ta.value = this.pre_wpautop(ta.value); 
     94            ta.style.width = '100%'; 
    9795         
    9896            qt.style.display = 'block'; 
    9997            ec.style.padding = '6px';