Support

Account

Home Forums Backend Issues (wp-admin) How to add text color as an option in the basic version of wysiwyg editor?

Unread

How to add text color as an option in the basic version of wysiwyg editor?

  • Hello.

    I am trying to add text color as an option in the basic version of the WYSIWYG editor. I have tried the following code in my functions.php file, it isn’t working, & I am not sure why? :

    add_filter( 'acf/fields/wysiwyg/toolbars' , 'my_toolbars'  );
    function my_toolbars( $toolbars ) {
    	array_unshift( $toolbars['Basic' ][1], 'forecolor' );
    	return $toolbars;
    }

    Thank you for your time!

Viewing 1 post (of 1 total)

The topic ‘How to add text color as an option in the basic version of wysiwyg editor?’ is closed to new replies.