I can add my custom TinyMCE buttons to the “Visual” toolbar, but I am unable to add it to the “Code” toolbar where I want it. Does anyone know how to do that?
I am using the ‘acf/fields/wysiwyg/toolbars’ to add ‘customClassButton’ to the $toolbars. My custom toolbar is called ‘Plus’.
$toolbars[‘Plus’] = array(
array(
“wp_adv”,
),
array(
“customClassButton”,
“bold”,
“forecolor”,
“removeformat”,
“charmap”,
“outdent”,
“indent”,
“undo”,
“redo”,
“custom_button”,
“wp_help”,
“wpview”
),
);