mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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
Reference in New Issue
Block a user