kollapsminoriteten/wp-includes/blocks/comments/block.json

65 lines
1.4 KiB
JSON
Raw Normal View History

2022-04-02 10:26:41 +02:00
{
2022-06-16 14:03:35 +02:00
"$schema": "https://schemas.wp.org/trunk/block.json",
2023-09-26 10:33:34 +02:00
"apiVersion": 3,
2022-12-15 17:47:31 +01:00
"name": "core/comments",
"title": "Comments",
2022-04-02 10:26:41 +02:00
"category": "theme",
2022-12-15 17:47:31 +01:00
"description": "An advanced block that allows displaying post comments using different visual configurations.",
2022-04-02 10:26:41 +02:00
"textdomain": "default",
"attributes": {
2022-12-15 17:47:31 +01:00
"tagName": {
"type": "string",
"default": "div"
},
"legacy": {
"type": "boolean",
"default": false
2022-04-02 10:26:41 +02:00
}
},
"supports": {
"align": [ "wide", "full" ],
2023-09-26 10:33:34 +02:00
"html": false,
2022-12-15 17:47:31 +01:00
"color": {
"gradients": true,
2023-12-07 09:44:11 +01:00
"heading": true,
2022-12-15 17:47:31 +01:00
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true,
"link": true
}
},
2023-04-26 17:39:43 +02:00
"spacing": {
"margin": true,
"padding": true
},
2022-04-02 10:26:41 +02:00
"typography": {
"fontSize": true,
"lineHeight": true,
2022-12-15 17:47:31 +01:00
"__experimentalFontFamily": true,
2022-04-02 10:26:41 +02:00
"__experimentalFontWeight": true,
2022-12-15 17:47:31 +01:00
"__experimentalFontStyle": true,
2022-04-02 10:26:41 +02:00
"__experimentalTextTransform": true,
2022-12-15 17:47:31 +01:00
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
2022-04-02 10:26:41 +02:00
"__experimentalDefaultControls": {
"fontSize": true
}
2025-04-25 12:30:07 +02:00
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"radius": true,
"color": true,
"width": true,
"style": true
}
2022-12-15 17:47:31 +01:00
}
2022-04-02 10:26:41 +02:00
},
2022-12-15 17:47:31 +01:00
"editorStyle": "wp-block-comments-editor",
"usesContext": [ "postId", "postType" ]
2022-04-02 10:26:41 +02:00
}