TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144

git-svn-id: https://develop.svn.wordpress.org/trunk@19457 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-11-28 00:21:36 +00:00
parent d2e0a6feab
commit 8319988a27
4 changed files with 5 additions and 3 deletions

View File

@ -169,8 +169,10 @@
}
});
if ( ed.id != 'wp_mce_fullscreen' )
if ( ed.id != 'wp_mce_fullscreen' && ed.id != 'mce_fullscreen' )
ed.dom.addClass(ed.getBody(), 'wp-editor');
else if ( ed.id == 'mce_fullscreen' )
ed.dom.addClass(ed.getBody(), 'mce-fullscreen');
// remove invalid parent paragraphs when pasting HTML and/or switching to the HTML editor and back
ed.onBeforeSetContent.add(function(ed, o) {

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ $wp_db_version = 19389;
*
* @global string $tinymce_version
*/
$tinymce_version = '345-20111114';
$tinymce_version = '345-20111127';
/**
* Holds the cache manifest version