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


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