From 56246e2d7bd661601047c7ee3e06d3bdb9495030 Mon Sep 17 00:00:00 2001 From: Mikhaela Tapia Date: Mon, 15 Dec 2025 12:51:20 +0800 Subject: [PATCH 1/2] always run setIcon when multicolor --- src/block-components/icon/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/block-components/icon/index.js b/src/block-components/icon/index.js index c17dbb5a8..f968cca94 100644 --- a/src/block-components/icon/index.js +++ b/src/block-components/icon/index.js @@ -211,9 +211,9 @@ export const Icon = props => { if ( processedIconRef.current === _icon && _icon ) { dispatch( 'stackable/page-icons' ).removePageIcon( _icon ) processedIconRef.current = null - setIcon( _icon ) // Use the original icon directly - lastIconValueRef.current = _icon } + setIcon( _icon ) // Use the original icon directly + lastIconValueRef.current = _icon return } From 55943b39404e2c34d5b58c7399f18e35c4fe6dc5 Mon Sep 17 00:00:00 2001 From: Mikhaela Tapia Date: Mon, 15 Dec 2025 12:55:57 +0800 Subject: [PATCH 2/2] show custom icon color in frontend --- src/block/icon-list/save.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/block/icon-list/save.js b/src/block/icon-list/save.js index 3c936fcac..e0bd466e3 100644 --- a/src/block/icon-list/save.js +++ b/src/block/icon-list/save.js @@ -39,7 +39,9 @@ export const Save = props => { blockAlignmentClass, responsiveClass, textClasses, - ] ) + ], { + 'stk__use-custom-icon-color': attributes.useCustomIconColor, + } ) const tagNameClassNames = classnames( [ attributes.ordered ? 'stk-block-icon-list__ol' : 'stk-block-icon-list__ul', attributes.listDisplayStyle && attributes.listDisplayStyle === 'grid' ? 'stk-block-icon-list--grid' : 'stk-block-icon-list--column',