Support

Account

Home Forums Backend Issues (wp-admin) How to add a button to ACF tiny MCE editor Reply To: How to add a button to ACF tiny MCE editor

  • this code

    function my_mce_buttons_2($buttons) {	
    	/**
    	 * Add in a core button that's disabled by default
    	 */
    	$buttons[] = 'superscript';
    	$buttons[] = 'subscript';
    
    	return $buttons;
    }
    add_filter('mce_buttons_2', 'my_mce_buttons_2');

    from the codex worked for me