Fix WebKit browsers reporting document.body height shorter than it is, add classes to TinyMCE's body: 'wp-editor' or 'wp-fullscreen-editor', fix mousemove event in IE, fixes #17664

git-svn-id: https://develop.svn.wordpress.org/trunk@18142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-06-05 00:06:28 +00:00
parent 3e27653486
commit 98d58b4edd
8 changed files with 35 additions and 26 deletions

View File

@@ -186,6 +186,9 @@
}
});
if ( ed.id != 'wp_mce_fullscreen' )
ed.dom.addClass(ed.getBody(), 'wp-editor');
// remove invalid parent paragraphs when pasting HTML and/or switching to the HTML editor and back
ed.onBeforeSetContent.add(function(ed, o) {
if ( o.content ) {

File diff suppressed because one or more lines are too long