From 88b63db2bff434f58ae945173f9413c51d4cc8ba Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 3 Mar 2023 17:19:14 +0000 Subject: [PATCH] Make sure the directly inserted block is a Page variation --- packages/block-library/src/navigation/edit/inner-blocks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/block-library/src/navigation/edit/inner-blocks.js b/packages/block-library/src/navigation/edit/inner-blocks.js index 7ad9667bb98d9e..0ac56a711cc4cd 100644 --- a/packages/block-library/src/navigation/edit/inner-blocks.js +++ b/packages/block-library/src/navigation/edit/inner-blocks.js @@ -29,6 +29,9 @@ const ALLOWED_BLOCKS = [ const DEFAULT_BLOCK = { name: 'core/navigation-link', + attributes: { + type: 'page', + }, }; export default function NavigationInnerBlocks( {