[ 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          "color": {
  14              "background": true,
  15              "gradients": true
  16          },
  17          "interactivity": true,
  18          "spacing": {
  19              "padding": true,
  20              "blockGap": true,
  21              "__experimentalDefaultControls": {
  22                  "padding": true,
  23                  "blockGap": true
  24              }
  25          },
  26          "__experimentalBorder": {
  27              "color": true,
  28              "radius": true,
  29              "style": true,
  30              "width": true,
  31              "__experimentalDefaultControls": {
  32                  "color": true,
  33                  "radius": true,
  34                  "style": true,
  35                  "width": true
  36              }
  37          },
  38          "typography": {
  39              "fontSize": true,
  40              "lineHeight": true,
  41              "__experimentalFontFamily": true,
  42              "__experimentalFontWeight": true,
  43              "__experimentalFontStyle": true,
  44              "__experimentalTextTransform": true,
  45              "__experimentalTextDecoration": true,
  46              "__experimentalLetterSpacing": true,
  47              "__experimentalDefaultControls": {
  48                  "fontSize": true
  49              }
  50          },
  51          "shadow": true,
  52          "layout": {
  53              "allowEditing": false
  54          },
  55          "visibility": false,
  56          "contentRole": true,
  57          "allowedBlocks": true,
  58          "lock": false
  59      },
  60      "attributes": {
  61          "templateLock": {
  62              "type": [ "string", "boolean" ],
  63              "enum": [ "all", "insert", "contentOnly", false ],
  64              "default": false
  65          }
  66      },
  67      "textdomain": "default",
  68      "style": "wp-block-accordion-panel"
  69  }


Generated : Mon Oct 5 08:20:36 2026 Cross-referenced by PHPXref