mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
c0db9a2f3d
Also update default block categories Props youknowriad, gziolo, aduth. Fixes #50420, #50278. Built from https://develop.svn.wordpress.org/trunk@48177 git-svn-id: http://core.svn.wordpress.org/trunk@47946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
42 lines
593 B
JSON
42 lines
593 B
JSON
{
|
|
"name": "core/latest-comments",
|
|
"category": "widgets",
|
|
"attributes": {
|
|
"align": {
|
|
"type": "string",
|
|
"enum": [
|
|
"left",
|
|
"center",
|
|
"right",
|
|
"wide",
|
|
"full"
|
|
]
|
|
},
|
|
"className": {
|
|
"type": "string"
|
|
},
|
|
"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,
|
|
"html": false
|
|
}
|
|
}
|