Editor scrolling:

- Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference.
- Fix delayed calls to resize() in the TinyMCE autoresize plugin.
See #28328.

git-svn-id: https://develop.svn.wordpress.org/trunk@29336 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-08-01 02:42:30 +00:00
parent a8a936ebc5
commit c94edd08bd
6 changed files with 187 additions and 57 deletions

View File

@@ -355,12 +355,21 @@ td.plugin-title p {
#content-resize-handle {
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
width: 12px;
cursor: row-resize;
}
.rtl #content-resize-handle {
background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;
}
.wp-editor-expand #content-resize-handle {
display: none;
}
#postdivrich #content {
resize: none;
}
#wp-word-count {
display: block;
padding: 2px 10px;