File tree Expand file tree Collapse file tree 4 files changed +14
-18
lines changed Expand file tree Collapse file tree 4 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 22
22
"html" : false ,
23
23
"reusable" : true ,
24
24
"lock" : false ,
25
- "spacing" : {
26
- "padding" : true ,
27
- "margin" : true
28
- },
29
- "typography" : {
25
+ "typography" : {
30
26
"fontSize" : true ,
31
27
"lineHeight" : true
32
28
}
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ export const BlockEdit = (props) => {
320
320
const isRequired = mailchimpListData ?. [ listId ] ?. [ tag ] ?. required || false ;
321
321
322
322
return (
323
- < div { ...blockProps } >
323
+ < div { ...blockProps } style = { { color : 'inherit' } } >
324
324
< MailchimpFormField { ...props } />
325
325
{ isPublic && ! isRequired && (
326
326
< BlockControls >
Original file line number Diff line number Diff line change 29
29
"color" : {
30
30
"background" : true ,
31
31
"text" : true ,
32
- "border" : true
32
+ "border" : true
33
33
},
34
- "typography" : {
35
- "fontSize" : true ,
36
- "lineHeight" : true ,
37
- "textAlign" : true
38
- }
34
+ "typography" : {
35
+ "fontSize" : true ,
36
+ "lineHeight" : true ,
37
+ "textAlign" : true
38
+ }
39
39
},
40
- "allowedBlocks" : [
40
+ "allowedBlocks" : [
41
41
" mailchimp/mailchimp-form-field"
42
42
],
43
- "providesContext" : {
44
- "mailchimp/list_id" : " list_id" ,
45
- "mailchimp/show_required_indicator" : " show_required_indicator"
46
- },
43
+ "providesContext" : {
44
+ "mailchimp/list_id" : " list_id" ,
45
+ "mailchimp/show_required_indicator" : " show_required_indicator"
46
+ },
47
47
"textdomain" : " mailchimp" ,
48
48
"editorScript" : " file:./index.js" ,
49
49
"render" : " file:./markup.php" ,
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ protected function prepare_groups_body( $interest_groups ) {
286
286
protected function set_all_groups_to_false ( $ interest_groups ) {
287
287
$ groups = new StdClass ();
288
288
289
- foreach ( $ interest_groups as $ $ interest_group ) {
289
+ foreach ( $ interest_groups as $ interest_group ) {
290
290
if ( 'hidden ' !== $ interest_group ['type ' ] ) {
291
291
foreach ( $ interest_group ['groups ' ] as $ group ) {
292
292
$ id = $ group ['id ' ];
You can’t perform that action at this time.
0 commit comments