mirror of
git://develop.git.wordpress.org/
synced 2025-04-14 09:02:06 +02:00
TinyMCE: Don't attempt to initialize the same instance twice. Follow up to [51082].
See #52133, #52050. git-svn-id: https://develop.svn.wordpress.org/trunk@51085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user