Hi,
I have added WYSIWYG text areas to my wp-admin to be able to add various information to posts. I have also added them to the categories, but for some reason the WYSIWYG doesn’t appear as it does on the posts pages. The fields work fine, there’s just no WYSIWYG.
I opened the console and when on the category edit page, I get this error:
Uncaught ReferenceError: tinyMCE is not defined
Does anyone know how to fix this? Thanks for any help.
Hi @daniel7912
Thank you for the question.
There is a plugin conflict interfering with the setting of the tinyMCE object in your category page. You should check to ensure that you identify the plugin bringing about the conflict by deactivating all other installed plugins and switching to one of the stock Wp themes.
You can also try making the followng AJAX callback:
$('.acf_wysiwyg textarea').each(function() {
tinymce.execCommand('mceAddControl', false, $(this).attr('id'));
});