2020-06-26 15:33:47 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/latest-comments",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Latest Comments",
|
2020-06-26 15:33:47 +02:00
|
|
|
"category": "widgets",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Display a list of your most recent comments.",
|
|
|
|
"keywords": [ "recent comments" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 15:33:47 +02:00
|
|
|
"attributes": {
|
|
|
|
"commentsToShow": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 5,
|
|
|
|
"minimum": 1,
|
|
|
|
"maximum": 100
|
|
|
|
},
|
|
|
|
"displayAvatar": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"displayDate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"displayExcerpt": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
2023-02-07 08:04:52 +01:00
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
2023-06-27 16:24:19 +02:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2023-02-07 08:04:52 +01:00
|
|
|
}
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-latest-comments-editor",
|
|
|
|
"style": "wp-block-latest-comments"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|