Changeset 51402 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 07/10/2021 11:57:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r51085 r51402 1664 1664 1665 1665 ( function() { 1666 var initialize = function() { 1666 var initialized = []; 1667 var initialize = function() { 1667 1668 var init, id, inPostbox, $wrap; 1668 1669 var readyState = document.readyState; … … 1673 1674 1674 1675 for ( id in tinyMCEPreInit.mceInit ) { 1676 if ( initialized.indexOf( id ) > -1 ) { 1677 continue; 1678 } 1679 1675 1680 init = tinyMCEPreInit.mceInit[id]; 1676 1681 $wrap = tinymce.$( '#wp-' + id + '-wrap' ); … … 1680 1685 ! init.wp_skip_init && 1681 1686 ( $wrap.hasClass( 'tmce-active' ) || ! tinyMCEPreInit.qtInit.hasOwnProperty( id ) ) && 1682 ( ( inPostbox && readyState === 'complete' )|| ( ! inPostbox && readyState === 'interactive' ) )1687 ( readyState === 'complete' || ( ! inPostbox && readyState === 'interactive' ) ) 1683 1688 ) { 1684 1689 tinymce.init( init ); 1690 initialized.push( id ); 1685 1691 1686 1692 if ( ! window.wpActiveEditor ) {
Note: See TracChangeset
for help on using the changeset viewer.