Editor style fixes for IE6 from mt and azaozz. fixes #6004
git-svn-id: http://svn.automattic.com/wordpress/trunk@7034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e495d173a1
commit
8ec7beca29
|
@ -21,3 +21,20 @@
|
|||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #editorcantainer {
|
||||
display: block;
|
||||
zoom: 100%;
|
||||
}
|
||||
|
||||
* html #editorcontainer {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
* html #editorcontainer #content {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
padding: 6px;
|
||||
margin: auto;
|
||||
width: 98%;
|
||||
}
|
||||
|
|
|
@ -91,11 +91,18 @@ switchEditors = {
|
|||
|
||||
ed.hide();
|
||||
ta.value = this.pre_wpautop(ta.value);
|
||||
ta.style.width = '100%';
|
||||
|
||||
qt.style.display = 'block';
|
||||
ec.style.padding = '6px';
|
||||
ta.style.color = '';
|
||||
|
||||
if ( tinymce.isIE6 ) {
|
||||
ta.style.width = '98%';
|
||||
ec.style.padding = '0px';
|
||||
ta.style.padding = '6px';
|
||||
} else {
|
||||
ta.style.width = '100%';
|
||||
ec.style.padding = '6px';
|
||||
}
|
||||
|
||||
ta.style.color = '';
|
||||
|
||||
this.wpSetDefaultEditor( 'html' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue