wphooks.info - mce_css

mce_css

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/class-wp-editor.php:
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
					$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;
			}