__( 'Big', 'make' ), 'inline' => 'big' ), // Small (small) array( 'title' => __( 'Small', 'make' ), 'inline' => 'small' ), // Citation (cite) array( 'title' => __( 'Citation', 'make' ), 'inline' => 'cite' ), // Testimonial (blockquote) array( 'title' => __( 'Blockquote: testimonial', 'make' ), 'block' => 'blockquote', 'classes' => 'ttfmake-testimonial', 'wrapper' => true ), // Alert (div) array( 'title' => __( 'Alert', 'make' ), 'items' => array( // Success (div) array( 'title' => __( 'Success (Green)', 'make' ), 'block' => 'div', 'attributes' => array( 'class' => 'ttfmake-alert ttfmake-success', ), ), // Error (div) array( 'title' => __( 'Error (Red)', 'make' ), 'block' => 'div', 'attributes' => array( 'class' => 'ttfmake-alert ttfmake-error', ), ), // Important (div) array( 'title' => __( 'Important (Orange)', 'make' ), 'block' => 'div', 'attributes' => array( 'class' => 'ttfmake-alert ttfmake-important', ), ), ), ), // List array( 'title' => __( 'List', 'make' ), 'items' => array( array( 'title' => __( 'Checkmark 1', 'make' ), 'selector' => 'ul,ol', 'attributes' => array( 'class' => 'ttfmake-list ttfmake-list-check' // Replace existing classes instead of adding ) ), array( 'title' => __( 'Checkmark 2', 'make' ), 'selector' => 'ul,ol', 'attributes' => array( 'class' => 'ttfmake-list ttfmake-list-check2' // Replace existing classes instead of adding ) ), array( 'title' => __( 'Star', 'make' ), 'selector' => 'ul,ol', 'attributes' => array( 'class' => 'ttfmake-list ttfmake-list-star' // Replace existing classes instead of adding ) ), array( 'title' => __( 'Dot', 'make' ), 'selector' => 'ul,ol', 'attributes' => array( 'class' => 'ttfmake-list ttfmake-list-dot' // Replace existing classes instead of adding ) ), ), ), ); // Allow styles to be customized $style_formats = apply_filters( 'ttfmake_style_formats', $style_formats ); // Encode $settings['style_formats'] = json_encode( $style_formats ); return $settings; } endif; add_filter( 'tiny_mce_before_init', 'ttfmake_mce_before_init' );