From 7bead4f38a8584f33216edd5578ee1ff905e5f79 Mon Sep 17 00:00:00 2001 From: mricoul Date: Tue, 27 Jan 2026 11:30:48 +0100 Subject: [PATCH] fix: adds isAccordion attribute to FAQ block Adds the `isAccordion` attribute to the FAQ block's schema. This attribute controls whether the FAQ items are displayed in an accordion style, allowing users to expand and collapse individual questions. The default value is set to `true`. --- src/faq/block.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/faq/block.json b/src/faq/block.json index 486fbd5..fd69ed7 100644 --- a/src/faq/block.json +++ b/src/faq/block.json @@ -10,6 +10,12 @@ "html": false, "innerBlocks": true }, + "attributes": { + "isAccordion": { + "type": "boolean", + "default": true + } + }, "textdomain": "blockparty-faq", "editorScript": "file:./index.js", "viewScript": "file:./script.js",