[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/accordion-item",
   5      "title": "Accordion Item",
   6      "category": "design",
   7      "description": "Wraps the heading and panel in one unit.",
   8      "parent": [ "core/accordion" ],
   9      "allowedBlocks": [ "core/accordion-heading", "core/accordion-panel" ],
  10      "supports": {
  11          "html": false,
  12          "color": {
  13              "background": true,
  14              "gradients": true
  15          },
  16          "interactivity": true,
  17          "spacing": {
  18              "margin": [ "top", "bottom" ],
  19              "padding": true,
  20              "blockGap": true
  21          },
  22          "__experimentalBorder": {
  23              "color": true,
  24              "radius": true,
  25              "style": true,
  26              "width": true,
  27              "__experimentalDefaultControls": {
  28                  "color": true,
  29                  "radius": true,
  30                  "style": true,
  31                  "width": true
  32              }
  33          },
  34          "shadow": true,
  35          "layout": {
  36              "allowEditing": false
  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          "contentRole": true
  52      },
  53      "attributes": {
  54          "openByDefault": {
  55              "type": "boolean",
  56              "default": false
  57          }
  58      },
  59      "providesContext": {
  60          "core/accordion-open-by-default": "openByDefault"
  61      },
  62      "textdomain": "default",
  63      "style": "wp-block-accordion-item"
  64  }


Generated : Thu Jul 9 08:20:14 2026 Cross-referenced by PHPXref