Make sure TinyMCE is not disabled before adding the size saving functions, see #21718
git-svn-id: http://core.svn.wordpress.org/trunk@22017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad572d63a1
commit
50be456284
|
@ -700,6 +700,7 @@ jQuery(document).ready( function($) {
|
|||
});
|
||||
})();
|
||||
|
||||
if ( typeof(tinymce) != 'undefined' ) {
|
||||
tinymce.onAddEditor.add(function(mce, ed){
|
||||
if ( ed.id != 'content' )
|
||||
return;
|
||||
|
@ -745,5 +746,5 @@ jQuery(document).ready( function($) {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue