From dfd68159d7d8b5f2dbae4485949a5515f3c8411b Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Fri, 8 Nov 2024 20:27:53 +0100 Subject: [PATCH] BUGFIX: Handle attribute classes as array --- Resources/Private/Fusion/NodeTypes/Map.fusion | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Resources/Private/Fusion/NodeTypes/Map.fusion b/Resources/Private/Fusion/NodeTypes/Map.fusion index cfd8c93..31b423b 100644 --- a/Resources/Private/Fusion/NodeTypes/Map.fusion +++ b/Resources/Private/Fusion/NodeTypes/Map.fusion @@ -21,8 +21,10 @@ prototype(Ttree.Map:Map) < prototype(Neos.Neos:Content) { id = ${"ttree-map-" + identifier} data-identifier = ${identifier} - class = 'ttree-map' - class.@process.appendClassUsedByJavascript = ${String.trim(value + ' ttree-map-configuration-js')} + class { + ttree-map = 'ttree-map' + } + class.@process.appendClassUsedByJavascript = ${Array.concat(value ,' ttree-map-configuration-js')} style = ${"height: " + height + "; width: " + width + ";"}