Hi,
Good question.
I thought this button was removed from ACF. See https://support.advancedcustomfields.com/forums/topic/source-code-button-on-wysiwyg-editor-field/
Which version of ACF are you using? The PRO one ?
Best,
Thanks for the quick answer.
I am using the up to date free version, ie the 4.4.11
I tested and i have the code source button available until i activate the new editor style in the settings.
Any idea how to fix it ?
Thanks
Hi,
Ok, since I’m using the pro version I did not notice that this button disappears.
I was able to reproduce the bug so I worked on a quick fix.
If you are able to edit the plugin, just go to line 193 of re-add-underline-justify.php and paste the following code:
//Fix for ACF code button
if ( in_array( 'code', $buttons_array ) ){
$mce_buttons_2[] = 'code';
}
return $mce_buttons_2;
Do the same on line 244.
I’ll update the plugin asap to include this fix for everyone.
Best,
It is working perfectly !
Thanks a lot for your quick and efficient solution ^^