diff --git a/extensions/blocks/recurring-payments/edit.jsx b/extensions/blocks/recurring-payments/edit.jsx index cc8237bd006fa..d404948d00d3e 100644 --- a/extensions/blocks/recurring-payments/edit.jsx +++ b/extensions/blocks/recurring-payments/edit.jsx @@ -314,9 +314,9 @@ class MembershipsButtonEdit extends Component { }; render = () => { - const { className, notices } = this.props; + const { className, notices, attributes } = this.props; const { connected, connectURL, products } = this.state; - + const { align } = attributes; const inspectorControls = ( @@ -343,6 +343,7 @@ class MembershipsButtonEdit extends Component { 'components-button', 'is-primary', 'is-button', + `align${ align }`, ] ); const blockContent = ( null, + supports: { + html: false, + align: true, + }, }; // These are Stripe Settlement currencies https://stripe.com/docs/currencies since memberships supports only Stripe ATM.