diff --git a/includes/blocks/mailchimp/index.js b/includes/blocks/mailchimp/index.js index 98b1f18..3538f28 100644 --- a/includes/blocks/mailchimp/index.js +++ b/includes/blocks/mailchimp/index.js @@ -6,6 +6,17 @@ import Icon from './icon'; registerBlockType(metadata, { icon: Icon, + transforms: { + from: [ + { + type: 'shortcode', + tag: 'mailchimpsf_form', + attributes: { + // No attributes, but attributes property is required + }, + }, + ], + }, edit: BlockEdit, save: () => null, });