[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/details",
   5      "title": "Details",
   6      "category": "text",
   7      "description": "Hide and show additional content.",
   8      "keywords": [ "accordion", "summary", "toggle", "disclosure" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "showContent": {
  12              "type": "boolean",
  13              "default": false
  14          },
  15          "summary": {
  16              "type": "rich-text",
  17              "source": "rich-text",
  18              "selector": "summary"
  19          },
  20          "name": {
  21              "type": "string",
  22              "source": "attribute",
  23              "attribute": "name",
  24              "selector": ".wp-block-details"
  25          },
  26          "allowedBlocks": {
  27              "type": "array"
  28          },
  29          "placeholder": {
  30              "type": "string"
  31          }
  32      },
  33      "supports": {
  34          "__experimentalOnEnter": true,
  35          "align": [ "wide", "full" ],
  36          "anchor": true,
  37          "color": {
  38              "gradients": true,
  39              "link": true,
  40              "__experimentalDefaultControls": {
  41                  "background": true,
  42                  "text": true
  43              }
  44          },
  45          "__experimentalBorder": {
  46              "color": true,
  47              "width": true,
  48              "style": true
  49          },
  50          "html": false,
  51          "spacing": {
  52              "margin": true,
  53              "padding": true,
  54              "blockGap": true,
  55              "__experimentalDefaultControls": {
  56                  "margin": false,
  57                  "padding": false
  58              }
  59          },
  60          "typography": {
  61              "fontSize": true,
  62              "lineHeight": true,
  63              "__experimentalFontFamily": true,
  64              "__experimentalFontWeight": true,
  65              "__experimentalFontStyle": true,
  66              "__experimentalTextTransform": true,
  67              "__experimentalTextDecoration": true,
  68              "__experimentalLetterSpacing": true,
  69              "__experimentalDefaultControls": {
  70                  "fontSize": true
  71              }
  72          },
  73          "layout": {
  74              "allowEditing": false
  75          },
  76          "interactivity": {
  77              "clientNavigation": true
  78          }
  79      },
  80      "editorStyle": "wp-block-details-editor",
  81      "style": "wp-block-details"
  82  }


Generated : Sat Feb 22 08:20:01 2025 Cross-referenced by PHPXref