Support

Account

Home Forums General Issues Wysiwyg, formatselect Reply To: Wysiwyg, formatselect

  • Thank you, this is what I needed:

    
    add_filter('tiny_mce_before_init', 'wpse3882_tiny_mce_before_init');
    function wpse3882_tiny_mce_before_init($settings) {
        $settings['theme_advanced_blockformats'] = 'p,h1,h2';
        return $settings;
    }