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


Generated : Sat Oct 24 08:20:34 2026 Cross-referenced by PHPXref