Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384

git-svn-id: https://develop.svn.wordpress.org/trunk@7513 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-26 03:22:53 +00:00
parent 1cc6a7b87b
commit 35c126a10a
9 changed files with 60 additions and 42 deletions

View File

@@ -4,7 +4,29 @@ body.mceContentBody {
background: #fff;
color: #000;
font: 13px/19px "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;
padding: .2em;
padding: 0.6em;
margin: 0;
text-align: left;
}
body.mceForceColors {
background:#fff;
color:#000;
}
h1 {font-size: 2em}
h2 {font-size: 1.5em}
h3 {font-size: 1.17em}
h4 {font-size: 1em}
h5 {font-size: .83em}
h6 {font-size: .75em}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {
border: 1px dashed #BBB;
}
img {
border:0;
}
td {
@@ -15,15 +37,16 @@ pre {
font: 12px/18px "Courier New", monospace;
}
.mceVisualAid {
border: 1px dashed #BBBBBB !important;
img.mceItemAnchor {
width: 12px;
height: 12px;
background: url(img/items.gif) no-repeat;
}
.mceItemAnchor {
a.mceItemAnchor {
width: 12px;
line-height: 6px;
overflow: hidden;
padding-left: 12px;
background-position: bottom;
background-repeat: no-repeat;
background: url(img/items.gif) no-repeat bottom left;
}