We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27d1b8 commit 4067d8aCopy full SHA for 4067d8a
src/components/block-css/block-style-generator-class.js
@@ -160,7 +160,7 @@ export class BlockStyleGenerator {
160
} )
161
162
if ( getNonCssAttributes && attrNames ) {
163
- const nonCssAttrs = attrNames.filter( attrName => ! ( attrName in blockStyles ) && attrName !== 'uniqueId' )
+ const nonCssAttrs = attrNames.filter( attrName => ! ( this.getRootAttrName( attrName ) in blockStyles ) && attrName !== 'uniqueId' )
164
return [ orderdBlockStyles, nonCssAttrs ]
165
}
166
0 commit comments