Plugin is breaking when there’s no tinyMCE in an admin screen.
Error is Uncaught ReferenceError: tinymce is not defined due to line 6026 in js/input.js .
You shouldn’t assume there’s always a tinymce instance.
I get the same bug on each page with ACF metabox.
On my site, tinyMCE is disabled and I use Markdown instead with Jetpack module.
WordPress 4
ACF 5.0.8
Simple fix, replace
if( typeof tinyMCEPreInit === 'undefined' )
for
if( typeof tinyMCEPreInit === 'undefined' || typeof tinymce === 'undefined' )
Thanks for your help. I’ve open a support ticket with a link to your post.
In v5.1.3, the code has been added to the plugin 🙂