Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718

git-svn-id: https://develop.svn.wordpress.org/trunk@22007 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-09-26 03:30:21 +00:00
parent ff88489bdc
commit 5ad7fe8cd6
7 changed files with 169 additions and 27 deletions

View File

@@ -3107,7 +3107,7 @@ td.plugin-title p {
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
width: 12px;
cursor: se-resize;
margin: 0 2px;
margin: 0 1px;
position: relative;
top: -2px;
}
@@ -3116,6 +3116,23 @@ td.plugin-title p {
top: 20px;
}
#content-resize-handle {
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
width: 12px;
cursor: se-resize;
position: absolute;
right: 2px;
height: 19px;
}
.press-this #content-resize-handle {
bottom: 2px;
}
.tmce-active #content-resize-handle {
display: none;
}
#wp-word-count {
display: block;
padding: 2px 10px;
@@ -4309,6 +4326,10 @@ span.imgedit-scale-warn {
box-shadow: none;
}
.comment-php .wp-editor-area {
height: 200px;
}
.comment-ays {
margin-bottom: 0;
border-style: solid;
@@ -7320,6 +7341,7 @@ img {
/* Editor/Main Column */
.press-this #poststuff {
margin: 0 10px 10px;
padding: 0;
}
#poststuff #editor-toolbar {
@@ -7415,7 +7437,7 @@ h3.tb {
}
.press-this #extra-fields .actions {
margin: -25px -7px 0 0;
margin: -32px -7px 0 0;
}
.press-this .actions li {
@@ -7515,7 +7537,7 @@ h3.tb {
margin: 5px 0;
padding: 0 5px;
border: 0 none;
height: 357px;
height: 345px;
font-family: Consolas, Monaco, monospace;
font-size: 13px;
line-height: 19px;