summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/button/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/button/block.json')
-rw-r--r--wp-includes/blocks/button/block.json13
1 files changed, 9 insertions, 4 deletions
diff --git a/wp-includes/blocks/button/block.json b/wp-includes/blocks/button/block.json
index eec327b..ec9f042 100644
--- a/wp-includes/blocks/button/block.json
+++ b/wp-includes/blocks/button/block.json
@@ -36,8 +36,8 @@
"__experimentalRole": "content"
},
"text": {
- "type": "string",
- "source": "html",
+ "type": "rich-text",
+ "source": "rich-text",
"selector": "a,button",
"__experimentalRole": "content"
},
@@ -97,7 +97,9 @@
}
},
"reusable": false,
- "shadow": true,
+ "shadow": {
+ "__experimentalSkipSerialization": true
+ },
"spacing": {
"__experimentalSkipSerialization": true,
"padding": [ "horizontal", "vertical" ],
@@ -118,7 +120,10 @@
"width": true
}
},
- "__experimentalSelector": ".wp-block-button .wp-block-button__link"
+ "__experimentalSelector": ".wp-block-button .wp-block-button__link",
+ "interactivity": {
+ "clientNavigation": true
+ }
},
"styles": [
{ "name": "fill", "label": "Fill", "isDefault": true },