TinyMCE: Don't attempt to initialize the same instance twice. Follow up to [51082].

See , .

git-svn-id: https://develop.svn.wordpress.org/trunk@51085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2021-06-07 23:20:57 +00:00
parent 009e4748bc
commit 494f3644fd

@ -1679,7 +1679,7 @@ final class _WP_Editors {
if (
! init.wp_skip_init &&
( $wrap.hasClass( 'tmce-active' ) || ! tinyMCEPreInit.qtInit.hasOwnProperty( id ) ) &&
( readyState === 'complete' || ( ! inPostbox && readyState === 'interactive' ) )
( ( inPostbox && readyState === 'complete' ) || ( ! inPostbox && readyState === 'interactive' ) )
) {
tinymce.init( init );