Editor: add iframe around post editor.

Adds an iframe around the post editor only if all registered blocks are v3 or higher.

Props ellatrix, mukesh27, costdev, oandregal, ramonopoly.
Fixes #58626.


git-svn-id: https://develop.svn.wordpress.org/trunk@56047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Isabel Brison
2023-06-27 00:21:12 +00:00
parent e55e9c2f0c
commit a7a32c378c
2 changed files with 60 additions and 44 deletions

View File

@@ -1629,7 +1629,7 @@ function wp_default_styles( $styles ) {
$styles->add(
'wp-block-editor-content',
"/wp-includes/css/dist/block-editor/content$suffix.css",
array()
array( 'wp-components' )
);
$wp_edit_blocks_dependencies = array(