- This topic has 1 reply, 2 voices, and was last updated 1 month, 2 weeks ago by .
I'd like to add the text color option like this - https://imgur.com/60QoaPI
Here is my code for the field, however it does not work. I think "forecolor" is not the correct ID for the button, but I do not know what it should be. What is the correct ID to add this button?
array( 'name' => 'WYSIWYG Field', 'id' => 'wysiwyg_field', 'type' => 'wysiwyg', 'dfw' => false, 'options' => array( 'textarea_rows' => 8, 'teeny' => true, 'media_buttons' => false, 'quicktags' => false, 'tinymce' => array( 'keep_styles' => false, 'paste_remove_styles' => true, 'paste_remove_spans' => true, 'paste_as_text' => true, 'toolbar1' => 'bold,italic,forecolor', ), ), 'required' => true, )
- You must be logged in to reply to this topic.