From 07ac9527e982c53fc423575cda243716b371b0dd Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Tue, 24 Feb 2026 10:15:04 +0800 Subject: [PATCH 1/2] fix: use "text" to also get text from stackable blocks --- src/block/icon-list/transforms.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/block/icon-list/transforms.js b/src/block/icon-list/transforms.js index e7ff04320c..de436fd791 100644 --- a/src/block/icon-list/transforms.js +++ b/src/block/icon-list/transforms.js @@ -53,12 +53,12 @@ const transforms = { transform: blockAttributes => { let childBlocks = [] if ( blockAttributes.length > 1 ) { - childBlocks = blockAttributes.map( ( { content } ) => { - return createBlock( 'stackable/icon-list-item', { text: content } ) + childBlocks = blockAttributes.map( ( { content, text } ) => { + return createBlock( 'stackable/icon-list-item', { text: content ?? text ?? '' } ) } ) } else if ( blockAttributes.length === 1 ) { const value = create( { - html: blockAttributes[ 0 ].content, + html: blockAttributes[ 0 ].content ?? blockAttributes[ 0 ].text ?? '', } ) childBlocks = split( value, '\n' ).map( result => { return createBlock( 'stackable/icon-list-item', { From 22a92769ff1ab5552d36e1fea978a9f5ef5214b1 Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Tue, 24 Feb 2026 10:16:11 +0800 Subject: [PATCH 2/2] fix: add additional guard for parentUniqueId to sync its value with context --- src/block/icon-list-item/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/icon-list-item/edit.js b/src/block/icon-list-item/edit.js index ec0ff272d1..4e78765fec 100644 --- a/src/block/icon-list-item/edit.js +++ b/src/block/icon-list-item/edit.js @@ -156,7 +156,7 @@ const Edit = props => { openEvenIfUnselected={ true } hasLinearGradient={ false } /> } - { ! ordered && ! icon && + { ! ordered && ! icon && parentUniqueId &&