• Hi All,

    I use the following snippet to remove some options from Tiny MCE to protect the design from my client:

    function make_mce_custom( $init ) {
    
    	$init['theme_advanced_blockformats'] = 'p,h6,h5,h4,h3,h2,h1';
    	$init['theme_advanced_text_colors'] = 'FFFFFF,AAAAAA,000000,522F91,EC008C,00AEEF';
    	$init['theme_advanced_disable'] = 'underline,justifyfull,wp_more,indent,outdent,forecolor';
    
    	return $init;
    }
    
    add_filter('tiny_mce_before_init', 'make_mce_custom');

    However, what I want is to add 6 colors they can choose from, but I want to hide the ‘more color’ button which gives the colorpicker. Is this possible?

  • The topic ‘Removing 'more colors' button in MCE’ is closed to new replies.