| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "core/page-list-item", |
| 5 |
"title": "Page List Item", |
| 6 |
"category": "widgets", |
| 7 |
"parent": [ "core/page-list" ], |
| 8 |
"description": "Displays a page inside a list of all pages.", |
| 9 |
"keywords": [ "page", "menu", "navigation" ], |
| 10 |
"textdomain": "default", |
| 11 |
"attributes": { |
| 12 |
"id": { |
| 13 |
"type": "number" |
| 14 |
}, |
| 15 |
"label": { |
| 16 |
"type": "string" |
| 17 |
}, |
| 18 |
"title": { |
| 19 |
"type": "string" |
| 20 |
}, |
| 21 |
"link": { |
| 22 |
"type": "string" |
| 23 |
}, |
| 24 |
"hasChildren": { |
| 25 |
"type": "boolean" |
| 26 |
} |
| 27 |
}, |
| 28 |
"usesContext": [ |
| 29 |
"textColor", |
| 30 |
"customTextColor", |
| 31 |
"backgroundColor", |
| 32 |
"customBackgroundColor", |
| 33 |
"overlayTextColor", |
| 34 |
"customOverlayTextColor", |
| 35 |
"overlayBackgroundColor", |
| 36 |
"customOverlayBackgroundColor", |
| 37 |
"fontSize", |
| 38 |
"customFontSize", |
| 39 |
"showSubmenuIcon", |
| 40 |
"style", |
| 41 |
"openSubmenusOnClick", |
| 42 |
"submenuVisibility" |
| 43 |
], |
| 44 |
"supports": { |
| 45 |
"anchor": true, |
| 46 |
"reusable": false, |
| 47 |
"html": false, |
| 48 |
"lock": false, |
| 49 |
"inserter": false, |
| 50 |
"__experimentalToolbar": false, |
| 51 |
"interactivity": { |
| 52 |
"clientNavigation": true |
| 53 |
} |
| 54 |
}, |
| 55 |
"editorStyle": "wp-block-page-list-editor", |
| 56 |
"style": "wp-block-page-list" |
| 57 |
} |
| 58 |
|