From 74a2e7048e9cd1c3b6fc33930e946786caa7deaf Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 28 Jan 2026 14:39:41 +0100 Subject: [PATCH] FEATURE Refining the block width with the new alignwide support --- plugins/carhop-blocks/src/front-header/block.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/plugins/carhop-blocks/src/front-header/block.json b/plugins/carhop-blocks/src/front-header/block.json index 6562667..663215a 100644 --- a/plugins/carhop-blocks/src/front-header/block.json +++ b/plugins/carhop-blocks/src/front-header/block.json @@ -9,11 +9,21 @@ "description": "Example block scaffolded with Create Block tool.", "example": {}, "supports": { - "html": false + "html": false, + "align": [ + "wide", + "full" + ] + }, + "attributes": { + "align": { + "type": "string", + "default": "full" + } }, "textdomain": "front-header", "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css", "viewScript": "file:./view.js" -} +} \ No newline at end of file