[ 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": [ "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              "role": "content"
  20          },
  21          "name": {
  22              "type": "string",
  23              "source": "attribute",
  24              "attribute": "name",
  25              "selector": ".wp-block-details"
  26          },
  27          "placeholder": {
  28              "type": "string"
  29          }
  30      },
  31      "supports": {
  32          "__experimentalOnEnter": true,
  33          "align": [ "wide", "full" ],
  34          "anchor": true,
  35          "background": {
  36              "backgroundImage": true,
  37              "backgroundSize": true,
  38              "gradient": true,
  39              "__experimentalDefaultControls": {
  40                  "backgroundImage": true,
  41                  "gradient": true
  42              }
  43          },
  44          "color": {
  45              "gradients": true,
  46              "link": true,
  47              "heading": true,
  48              "button": true,
  49              "__experimentalDefaultControls": {
  50                  "background": true,
  51                  "text": true
  52              }
  53          },
  54          "__experimentalBorder": {
  55              "color": true,
  56              "width": true,
  57              "style": true
  58          },
  59          "html": false,
  60          "shadow": true,
  61          "spacing": {
  62              "margin": true,
  63              "padding": true,
  64              "blockGap": true,
  65              "__experimentalDefaultControls": {
  66                  "margin": false,
  67                  "padding": false
  68              }
  69          },
  70          "dimensions": {
  71              "minWidth": true
  72          },
  73          "typography": {
  74              "fontSize": true,
  75              "lineHeight": true,
  76              "__experimentalFontFamily": true,
  77              "__experimentalFontWeight": true,
  78              "__experimentalFontStyle": true,
  79              "__experimentalTextTransform": true,
  80              "__experimentalTextDecoration": true,
  81              "__experimentalLetterSpacing": true,
  82              "__experimentalDefaultControls": {
  83                  "fontSize": true
  84              }
  85          },
  86          "layout": {
  87              "allowEditing": false
  88          },
  89          "interactivity": {
  90              "clientNavigation": true
  91          },
  92          "allowedBlocks": true
  93      },
  94      "editorStyle": "wp-block-details-editor",
  95      "style": "wp-block-details"
  96  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref