Skip to content

Commit

Permalink
Gutenberg v5.9.x and Contact Form Block Support (#12673)
Browse files Browse the repository at this point in the history
* Test if this fixes api save validation

* Wrap InnerBlocks.Content in a function
  • Loading branch information
gwwar authored and jeherve committed Jun 14, 2019
1 parent 98ca522 commit a22fe7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/blocks/contact-form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const settings = {
},

edit: JetpackContactForm,
save: InnerBlocks.Content,
save: () => <InnerBlocks.Content />,
deprecated: [
{
attributes: {
Expand Down Expand Up @@ -107,7 +107,7 @@ export const settings = {
return true;
},

save: InnerBlocks.Content,
save: () => <InnerBlocks.Content />,
},
],
};
Expand Down

0 comments on commit a22fe7f

Please sign in to comment.