TinyMCE: update to 4.0.14. Remove the fix for using init.setup in old plugins, now fixed upstream. See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@27060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-01-31 00:05:17 +00:00
parent 6989d828bb
commit ced0079d88
21 changed files with 704 additions and 255 deletions

View File

@@ -446,12 +446,6 @@ final class _WP_Editors {
$mceInit['toolbar4'] = '';
}
// Fix 3.x callbacks added with init.setup
if ( ! empty( $mceInit['setup'] ) ) {
$func = $mceInit['setup'];
$mceInit['setup'] = "function( editor ) { editor.on( 'PreInit', function(){ ($func).call( this, editor ); }); }";
}
self::$mce_settings[$editor_id] = $mceInit;
} // end if self::$this_tinymce
}