'Panel', 'block' => 'div', 'classes' => 'panel' ), array( 'title' => 'Callout', 'block' => 'div', 'classes' => 'panel callout' ), array( 'title' => 'Button', 'inline' => 'a', 'classes' => 'button' ), array( 'title' => 'Tiny Button', 'inline' => 'a', 'classes' => 'tiny button' ), array( 'title' => 'Small Button', 'inline' => 'a', 'classes' => 'small button' ), array( 'title' => 'Large Button', 'inline' => 'a', 'classes' => 'large button' ), array( 'title' => 'h1.subheader', 'block' => 'h1', 'classes' => 'subheader' ), array( 'title' => 'h2.subheader', 'block' => 'h2', 'classes' => 'subheader' ), array( 'title' => 'h3.subheader', 'block' => 'h3', 'classes' => 'subheader' ), array( 'title' => 'h4.subheader', 'block' => 'h4', 'classes' => 'subheader' ), array( 'title' => 'h5.subheader', 'block' => 'h5', 'classes' => 'subheader' ), array( 'title' => 'Hide For Small', 'block' => 'div', 'classes' => 'hide-for-small' ), array( 'title' => 'Flex Video', 'block' => 'div', 'classes' => 'flex-video' ), ); /** * Apply pf_add_more_styles_to_mce filters * * Allows child themes to add more * * @since Planet Foundation 1.0.0 * * @param array $style_formats Array of styles * * @return array Mofified $style_formats * */ $style_formats = apply_filters('pf_add_more_styles_to_mce', $style_formats ); $settings['style_formats'] = json_encode( $style_formats ); return $settings; } add_filter('tiny_mce_before_init', 'pf_mce_before_init'); ?>