summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/button/block.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
commit30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch)
tree39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-includes/blocks/button/block.json
parentAdding upstream version 6.4.3+dfsg1. (diff)
downloadwordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz
wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 },