[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/accordion-panel/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/accordion-panel",
   5      "title": "Accordion Panel",
   6      "category": "design",
   7      "description": "Contains the hidden or revealed content beneath the heading.",
   8      "parent": [ "core/accordion-item" ],
   9      "usesContext": [ "core/accordion-open-by-default" ],
  10      "supports": {
  11          "__experimentalOnEnter": true,
  12          "html": false,
  13          "background": {
  14              "backgroundImage": true,
  15              "backgroundSize": true,
  16              "gradient": true
  17          },
  18          "color": {
  19              "background": true,
  20              "gradients": true,
  21              "link": true,
  22              "heading": true,
  23              "button": true
  24          },
  25          "interactivity": true,
  26          "spacing": {
  27              "padding": true,
  28              "blockGap": true,
  29              "__experimentalDefaultControls": {
  30                  "padding": true,
  31                  "blockGap": true
  32              }
  33          },
  34          "__experimentalBorder": {
  35              "color": true,
  36              "radius": true,
  37              "style": true,
  38              "width": true,
  39              "__experimentalDefaultControls": {
  40                  "color": true,
  41                  "radius": true,
  42                  "style": true,
  43                  "width": true
  44              }
  45          },
  46          "typography": {
  47              "fontSize": true,
  48              "lineHeight": true,
  49              "__experimentalFontFamily": true,
  50              "__experimentalFontWeight": true,
  51              "__experimentalFontStyle": true,
  52              "__experimentalTextTransform": true,
  53              "__experimentalTextDecoration": true,
  54              "__experimentalLetterSpacing": true,
  55              "__experimentalDefaultControls": {
  56                  "fontSize": true
  57              }
  58          },
  59          "shadow": true,
  60          "layout": {
  61              "allowEditing": false
  62          },
  63          "visibility": false,
  64          "contentRole": true,
  65          "allowedBlocks": true,
  66          "lock": false
  67      },
  68      "attributes": {
  69          "templateLock": {
  70              "type": [ "string", "boolean" ],
  71              "enum": [ "all", "insert", "contentOnly", false ],
  72              "default": false
  73          }
  74      },
  75      "textdomain": "default",
  76      "style": "wp-block-accordion-panel"
  77  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref