Open psorensen opened 3 days ago
Here's a workaround for anyone who might find this.
function update_all_blocks_to_v_3( $metadata ) {
$metadata['apiVersion'] = 3;
return $metadata;
};
add_filter( 'block_type_metadata', 'update_all_blocks_to_v_3' );
Describe the bug
ElasticPress Prevents New Iframe Editor Behavior in WordPress 6.7+
WordPress 6.7 introduced a new method of iframing the post editor. However, ElasticPress appears to block this functionality. A key indicator that the new iframe editor is being used is the presence of the Zoom tool in the top bar
For more context, refer to the WordPress Core announcement about post editor iframing with meta boxes, particularly the "Remaining exception to the iframe" section.
Likely Cause
ElasticPress registers all its blocks with apiVersion: 2, which likely causes this conflict.
Steps to Reproduce
Screenshots, screen recording, code snippet
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct