mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user