summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/preformatted
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/preformatted
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 'wp-includes/blocks/preformatted')
-rw-r--r--wp-includes/blocks/preformatted/block.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/wp-includes/blocks/preformatted/block.json b/wp-includes/blocks/preformatted/block.json
index ec6ea83..fbec358 100644
--- a/wp-includes/blocks/preformatted/block.json
+++ b/wp-includes/blocks/preformatted/block.json
@@ -8,10 +8,9 @@
"textdomain": "default",
"attributes": {
"content": {
- "type": "string",
- "source": "html",
+ "type": "rich-text",
+ "source": "rich-text",
"selector": "pre",
- "default": "",
"__unstablePreserveWhiteSpace": true,
"__experimentalRole": "content"
}
@@ -41,6 +40,9 @@
"__experimentalDefaultControls": {
"fontSize": true
}
+ },
+ "interactivity": {
+ "clientNavigation": true
}
},
"style": "wp-block-preformatted"