summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/code/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/code/block.json')
-rw-r--r--wp-includes/blocks/code/block.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/wp-includes/blocks/code/block.json b/wp-includes/blocks/code/block.json
index 80df74b..4465c85 100644
--- a/wp-includes/blocks/code/block.json
+++ b/wp-includes/blocks/code/block.json
@@ -8,8 +8,8 @@
"textdomain": "default",
"attributes": {
"content": {
- "type": "string",
- "source": "html",
+ "type": "rich-text",
+ "source": "rich-text",
"selector": "code",
"__unstablePreserveWhiteSpace": true
}
@@ -56,6 +56,9 @@
"background": true,
"text": true
}
+ },
+ "interactivity": {
+ "clientNavigation": true
}
},
"style": "wp-block-code"