2020-06-26 09:33:47 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2020-06-26 09:33:47 -04:00
|
|
|
"name": "core/categories",
|
2024-09-19 21:55:35 -04:00
|
|
|
"title": "Terms List",
|
2020-06-26 09:33:47 -04:00
|
|
|
"category": "widgets",
|
2024-09-19 21:55:35 -04:00
|
|
|
"description": "Display a list of all terms of a given taxonomy.",
|
|
|
|
"keywords": [ "categories" ],
|
2021-05-19 11:09:27 -04:00
|
|
|
"textdomain": "default",
|
2020-06-26 09:33:47 -04:00
|
|
|
"attributes": {
|
2024-09-19 21:55:35 -04:00
|
|
|
"taxonomy": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "category"
|
|
|
|
},
|
2020-06-26 09:33:47 -04:00
|
|
|
"displayAsDropdown": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"showHierarchy": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"showPostCounts": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2021-11-08 09:29:21 -05:00
|
|
|
},
|
|
|
|
"showOnlyTopLevel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"showEmpty": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2024-09-19 21:55:35 -04:00
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
|
|
|
},
|
|
|
|
"showLabel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|
|
|
|
},
|
2024-09-19 21:55:35 -04:00
|
|
|
"usesContext": [ "enhancedPagination" ],
|
2020-06-26 09:33:47 -04:00
|
|
|
"supports": {
|
|
|
|
"align": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
2023-07-07 03:21:17 -04:00
|
|
|
"padding": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"margin": false,
|
|
|
|
"padding": false
|
|
|
|
}
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 13:22:22 -05:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2024-09-19 21:55:35 -04:00
|
|
|
},
|
|
|
|
"__experimentalBorder": {
|
|
|
|
"radius": true,
|
|
|
|
"color": true,
|
|
|
|
"width": true,
|
|
|
|
"style": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"radius": true,
|
|
|
|
"color": true,
|
|
|
|
"width": true,
|
|
|
|
"style": true
|
|
|
|
}
|
2022-09-20 11:43:29 -04:00
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-categories-editor",
|
|
|
|
"style": "wp-block-categories"
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|