Home › Forums › Gutenberg › ACF Blocks broken in WordPress 6.7-beta2? › Reply To: ACF Blocks broken in WordPress 6.7-beta2?
This is still an issue with WP 6.7+. ACF blocks that have WYSIWYG fields within them will throw a JS error if the initial view state for that block is Edit mode. Setting SCRIPT_DEBUG to false fixes the issue.
I’ve done a bit of debugging and it looks like the textarea field IDs for the WYSIWYG fields do not update on page load with SCRIPT_DEBUG enabled. The field IDs are still set to something like “acf-editor-677c024e3e39b” instead of “acf-editor-179”. Disabling SCRIPT_DEBUG or swapping between the Preview and Edit modes will fix the broken field.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.