Editor scrolling:

- Pin the TinyMCE statusbar (elements path) to the bottom.
- Add support for pinning the menu when present.
- Add borders from CSS.
- Optimize getting most elements outerHeight.
Part props avryl, fixes #29293, see #28328.

git-svn-id: https://develop.svn.wordpress.org/trunk@29579 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-08-24 05:10:52 +00:00
parent 7c8086a9a6
commit 46457ead23
5 changed files with 174 additions and 91 deletions

View File

@@ -406,6 +406,38 @@ td.plugin-title p {
}
/* end editor-expand.js override */
.wp-editor-expand #wp-content-editor-tools {
z-index: 1000;
border-bottom: 1px solid #e5e5e5;
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.wp-editor-expand #wp-content-editor-container {
border-bottom: 0 none;
}
.wp-editor-expand div.mce-statusbar {
z-index: 1;
}
.wp-editor-expand #post-status-info {
border-top: 1px solid #e5e5e5;
}
.wp-editor-expand div.mce-toolbar-grp {
z-index: 999;
}
#wp-content-editor-tools {
background-color: #f1f1f1;
padding-top: 20px;
}
#poststuff #post-body.columns-2 #side-sortables {
width: 280px;
}