You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.0 KiB

1 year ago
  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. ],
  43. "supports": {
  44. "reusable": false,
  45. "html": false,
  46. "lock": false,
  47. "inserter": false,
  48. "__experimentalToolbar": false
  49. },
  50. "editorStyle": "wp-block-page-list-editor",
  51. "style": "wp-block-page-list"
  52. }