From bda47dd036efa4cc93c958776e02e3ddaabc6afd Mon Sep 17 00:00:00 2001 From: Mark Woodard Date: Thu, 8 Aug 2024 14:47:41 -0500 Subject: [PATCH] classNames not being displayed on off canvas and off canvas triggers --- src/blocks/header/children/off-canvas-trigger/block.json | 3 +++ src/blocks/header/children/off-canvas/block.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blocks/header/children/off-canvas-trigger/block.json b/src/blocks/header/children/off-canvas-trigger/block.json index e9de2f479..0ce8e039e 100644 --- a/src/blocks/header/children/off-canvas-trigger/block.json +++ b/src/blocks/header/children/off-canvas-trigger/block.json @@ -198,5 +198,8 @@ "type": "string", "default": "px" } + }, + "supports": { + "className": true } } diff --git a/src/blocks/header/children/off-canvas/block.json b/src/blocks/header/children/off-canvas/block.json index ccf39814f..034f9c17c 100644 --- a/src/blocks/header/children/off-canvas/block.json +++ b/src/blocks/header/children/off-canvas/block.json @@ -6,7 +6,8 @@ "category": "design", "description": "Off Canvas block", "supports": { - "inserter": true + "inserter": true, + "className": true }, "textdomain": "kadence-blocks", "attributes": {