Uses
| Uses | Description | 
|---|---|
| wp-includes/script-loader.php: wp_register_tinymce_scripts() | Registers TinyMCE scripts. | 
| wp-includes/functions.wp-scripts.php: wp_scripts() | Initialize $wp_scripts if it has not been set. | 
Force uncompressed TinyMCE when a custom theme has been defined.
The compressed TinyMCE file cannot deal with custom themes, so this makes sure that we use the uncompressed TinyMCE file if a theme is defined. Even if we are on a production environment.
File: wp-includes/class-wp-editor.php
public static function force_uncompressed_tinymce() {
		$has_custom_theme = false;
		foreach ( self::$mce_settings as $init ) {
			if ( ! empty( $init['theme_url'] ) ) {
				$has_custom_theme = true;
				break;
			}
		}
		if ( ! $has_custom_theme ) {
			return;
		}
		$wp_scripts = wp_scripts();
		$wp_scripts->remove( 'wp-tinymce' );
		wp_register_tinymce_scripts( $wp_scripts, true );
	}  | Version | Description | 
|---|---|
| 5.0.0 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/classes/_wp_editors/force_uncompressed_tinymce