[ 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": "Displays a section of content in an accordion, including a heading and expandable content.",
   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              "blockGap": true
  20          },
  21          "__experimentalBorder": {
  22              "color": true,
  23              "radius": true,
  24              "style": true,
  25              "width": true,
  26              "__experimentalDefaultControls": {
  27                  "color": true,
  28                  "radius": true,
  29                  "style": true,
  30                  "width": true
  31              }
  32          },
  33          "shadow": true,
  34          "layout": {
  35              "allowEditing": false
  36              },
  37          "typography": {
  38              "fontSize": true,
  39              "lineHeight": true,
  40              "__experimentalFontFamily": true,
  41              "__experimentalFontWeight": true,
  42              "__experimentalFontStyle": true,
  43              "__experimentalTextTransform": true,
  44              "__experimentalTextDecoration": true,
  45              "__experimentalLetterSpacing": true,
  46              "__experimentalDefaultControls": {
  47                  "fontSize": true
  48              }
  49          },
  50          "contentRole": true
  51      },
  52      "attributes": {
  53          "openByDefault": {
  54              "type": "boolean",
  55              "default": false
  56          }
  57      },
  58      "textdomain": "default",
  59      "style": "wp-block-accordion-item"
  60  }


Generated : Sat Oct 25 08:20:05 2025 Cross-referenced by PHPXref