Skip to content

Commit 4067d8a

Browse files
committed
use root attribute name
1 parent c27d1b8 commit 4067d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/block-css/block-style-generator-class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class BlockStyleGenerator {
160160
} )
161161

162162
if ( getNonCssAttributes && attrNames ) {
163-
const nonCssAttrs = attrNames.filter( attrName => ! ( attrName in blockStyles ) && attrName !== 'uniqueId' )
163+
const nonCssAttrs = attrNames.filter( attrName => ! ( this.getRootAttrName( attrName ) in blockStyles ) && attrName !== 'uniqueId' )
164164
return [ orderdBlockStyles, nonCssAttrs ]
165165
}
166166

0 commit comments

Comments
 (0)