From f2febe1dc8a20de1a442978d17e024ef71ade89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Wrede?= Date: Thu, 27 Jul 2023 16:28:51 +0200 Subject: [PATCH 1/2] Docs: Add Block API Version 3 --- docs/reference-guides/block-api/block-api-versions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference-guides/block-api/block-api-versions.md b/docs/reference-guides/block-api/block-api-versions.md index 6b2e858aae70c3..d89362777ca58c 100644 --- a/docs/reference-guides/block-api/block-api-versions.md +++ b/docs/reference-guides/block-api/block-api-versions.md @@ -2,6 +2,9 @@ This document lists the changes made between the different API versions. +## Version 3 (>= WordPress 6.3) +- The post editor will be iframed if all registered blocks have a Block API version 3 or higher. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3. + ## Version 2 (>= WordPress 5.6) - To render the block element wrapper for the block's `edit` implementation, the block author must use the `useBlockProps()` hook. From 68b0601738a560269661dadc1de7f3ef8d049106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Wrede?= Date: Fri, 28 Jul 2023 08:35:08 +0200 Subject: [PATCH 2/2] Add info about classic meta boxes. --- docs/reference-guides/block-api/block-api-versions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-guides/block-api/block-api-versions.md b/docs/reference-guides/block-api/block-api-versions.md index d89362777ca58c..b4b11e7c23c7cc 100644 --- a/docs/reference-guides/block-api/block-api-versions.md +++ b/docs/reference-guides/block-api/block-api-versions.md @@ -3,7 +3,7 @@ This document lists the changes made between the different API versions. ## Version 3 (>= WordPress 6.3) -- The post editor will be iframed if all registered blocks have a Block API version 3 or higher. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3. +- The post editor will be iframed if all registered blocks have a Block API version 3 or higher and the editor has no classic meta boxes below the blocks. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3. ## Version 2 (>= WordPress 5.6)