Write page styling

git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-10-28 10:59:26 +00:00
parent 1ef94e3195
commit 70443d9dbb
17 changed files with 260 additions and 146 deletions
-16
View File
@@ -16,7 +16,6 @@ switchEditors = {
try { this.I('content').style.height = h.ch - 30 + 'px'; } catch(e){};
} else {
try {
this.I('editorcontainer').style.padding = '0px';
this.I("quicktags").style.display = "none";
} catch(e){};
tinyMCE.execCommand("mceAddControl", false, "content");
@@ -100,7 +99,6 @@ switchEditors = {
var H = this.I('edButtonHTML');
var P = this.I('edButtonPreview');
var ta = this.I(id);
var ec = (ta.parentNode && ta.parentNode.nodeName == 'DIV') ? ta.parentNode : '';
if ( 'tinymce' == mode ) {
@@ -115,9 +113,6 @@ switchEditors = {
edCloseAllTags(); // :-(
qt.style.display = 'none';
ta.style.padding = '0px';
if ( ec )
ec.style.padding = '0px';
ta.value = this.wpautop(ta.value);
@@ -138,17 +133,6 @@ switchEditors = {
ed.hide();
qt.style.display = 'block';
if ( tinymce.isIE6 ) {
ta.style.width = '98%';
if ( ec )
ec.style.padding = '0px';
ta.style.padding = '6px';
} else {
ta.style.width = '100%';
if ( ec )
ec.style.padding = '6px';
}
ta.style.color = '';
setUserSetting( 'editor', 'html' );
}