wphooks.info - mce_css

mce_css

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-includes/class-wp-editor.php:
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
					$mce_css .= ',' . implode( ',', $editor_styles );
				}

				/**
				 * Filters the comma-delimited list of stylesheets to load in TinyMCE.
				 *
				 * @since 2.1.0
				 *
				 * @param string $stylesheets Comma-delimited list of stylesheets.
				 */
				$mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' );

				if ( ! empty( $mce_css ) ) {
					$settings['content_css'] = $mce_css;
				} else {
					unset( $settings['content_css'] );
				}

				self::$first_init = $settings;
			}