From a59d559392c1bff22f1b5571ce416a77bf8be8cc Mon Sep 17 00:00:00 2001 From: himanshupathak95 Date: Mon, 17 Feb 2025 14:47:38 +0530 Subject: [PATCH] Template Part: Add layout support --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/template-part/block.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 6a8f3255297c4..7116db94fdbf1 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -931,7 +931,7 @@ Edit the different global regions of your site, like the header, footer, sidebar - **Name:** core/template-part - **Category:** theme -- **Supports:** align, interactivity (clientNavigation), ~~html~~, ~~renaming~~, ~~reusable~~ +- **Supports:** align, interactivity (clientNavigation), layout, ~~html~~, ~~renaming~~, ~~reusable~~ - **Attributes:** area, slug, tagName, theme ## Term Description diff --git a/packages/block-library/src/template-part/block.json b/packages/block-library/src/template-part/block.json index 9710bdeee2e53..edf75ed65a445 100644 --- a/packages/block-library/src/template-part/block.json +++ b/packages/block-library/src/template-part/block.json @@ -23,6 +23,7 @@ "supports": { "align": true, "html": false, + "layout": true, "reusable": false, "renaming": false, "interactivity": {