diff --git a/packages/block-library/src/social-link/index.php b/packages/block-library/src/social-link/index.php index 605e49fce2f11b..7fae205fb47323 100644 --- a/packages/block-library/src/social-link/index.php +++ b/packages/block-library/src/social-link/index.php @@ -81,6 +81,18 @@ function register_block_core_social_link() { array_merge( $metadata, array( + 'attributes' => array( + 'url' => array( + 'type' => 'string', + ), + 'service' => array( + 'type' => 'string', + 'default' => $site, + ), + 'label' => array( + 'type' => 'string', + ), + ), 'render_callback' => 'render_core_social_link', ) )