summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php')
-rw-r--r--plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
index 9fa2ab3c..868203f1 100644
--- a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
+++ b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
@@ -26,7 +26,16 @@ function register_block() {
) {
Blocks::jetpack_register_block(
BLOCK_NAME,
- array( 'render_callback' => __NAMESPACE__ . '\render_block' )
+ array(
+ 'render_callback' => __NAMESPACE__ . '\render_block',
+ 'supports' => array(
+ 'spacing' => array(
+ 'margin' => true,
+ 'padding' => true,
+ ),
+ 'align' => array( 'wide', 'full' ),
+ ),
+ )
);
}
}