You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Editing ACF blocks in the canvas broken in WordPress 6.8 with FSE themes #951
Describe the bug
In WordPress 6.8 (currently in RC 1), there was a change that forces blocks to be iframed if the theme is a block theme. In WordPress 6.7 and prior, even block themes would disable the iframe when it detected blocks registered with a v2 (ACF blocks are registered as v2 in the latest versions and schemas). So when using a block theme and ACF blocks, the JS/CSS isn't loaded properly into the canvas and breaks the editing experience.
To Reproduce
Steps to reproduce the behavior:
Install the latest version of WordPress as of this filing (6.8-rc1)
Make sure your site has the WordPress 2023 theme available in the themes folder
Additional context
This is due to a change made here: WordPress/gutenberg#66800 where it was decided to get much more aggressive in how the block iframe was determined it should be used.
Reacted by Sergey Pervushin, zielinskila and Rolle Laukkarinen
Activity