Skip to content

Commit 801614d

Browse files
committed
bugfix(mjml-wrapper): allowed attributes not inheriting #3011
Adding 'static allowedAttributes' for 'gap' caused other attributes to become illegal due to no inheritance
1 parent 375c593 commit 801614d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mjml-wrapper/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default class MjWrapper extends MjSection {
55
static componentName = 'mj-wrapper'
66

77
static allowedAttributes = {
8+
...MjSection.allowedAttributes,
89
gap: 'unit(px)',
910
}
1011

0 commit comments

Comments
 (0)