I’m using AFC Pro with WordPress 4.5.3.
When I update AFC Pro to the latest version (5.4.5), it breaks the TinyMCE view in all modules of AFC (it’s just a complete empty box). The text view works as usual.
My console is reporting this message:
TypeError: r is null / wp-tinymce.php:13:18099
Version 5.4.2 works just fine without any problems.
Okay, so I found the issue.
A little more info…
The page where I have these two tinymce editor fields has several ACF fields on it of various types (the theme settings page for my theme).
And I noticed that if I load the page it won’t work initially. But if I click the “Text” tab and then the “Visual” tab (which does nothing for either) and then refresh the page, that it then ends up working. However, if I refresh the page again, it is the same issue with it not working again (and I need to follow those same steps again and refresh the page).
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future.— Advanced Custom Fields (@wp_acf) January 6, 2023
© 2023 Advanced Custom Fields.