55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"name": "core/page-list",
|
|
"title": "Page List",
|
|
"category": "widgets",
|
|
"description": "Display a list of all pages.",
|
|
"keywords": [ "menu", "navigation" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"parentPageID": {
|
|
"type": "integer",
|
|
"default": 0
|
|
},
|
|
"isNested": {
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
},
|
|
"usesContext": [
|
|
"textColor",
|
|
"customTextColor",
|
|
"backgroundColor",
|
|
"customBackgroundColor",
|
|
"overlayTextColor",
|
|
"customOverlayTextColor",
|
|
"overlayBackgroundColor",
|
|
"customOverlayBackgroundColor",
|
|
"fontSize",
|
|
"customFontSize",
|
|
"showSubmenuIcon",
|
|
"style",
|
|
"openSubmenusOnClick"
|
|
],
|
|
"supports": {
|
|
"reusable": false,
|
|
"html": false,
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true,
|
|
"__experimentalFontWeight": true,
|
|
"__experimentalFontStyle": true,
|
|
"__experimentalTextTransform": true,
|
|
"__experimentalTextDecoration": true,
|
|
"__experimentalLetterSpacing": true,
|
|
"__experimentalDefaultControls": {
|
|
"fontSize": true
|
|
}
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-page-list-editor",
|
|
"style": "wp-block-page-list"
|
|
}
|