[ 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      },
  21      "supports": {
  22          "align": [ "wide", "full" ],
  23          "color": {
  24              "gradients": true,
  25              "link": true,
  26              "__experimentalDefaultControls": {
  27                  "background": true,
  28                  "text": true
  29              }
  30          },
  31          "__experimentalBorder": {
  32              "color": true,
  33              "width": true,
  34              "style": true
  35          },
  36          "html": false,
  37          "spacing": {
  38              "margin": true,
  39              "padding": true,
  40              "blockGap": true,
  41              "__experimentalDefaultControls": {
  42                  "margin": false,
  43                  "padding": false
  44              }
  45          },
  46          "typography": {
  47              "fontSize": true,
  48              "lineHeight": true,
  49              "__experimentalFontFamily": true,
  50              "__experimentalFontWeight": true,
  51              "__experimentalFontStyle": true,
  52              "__experimentalTextTransform": true,
  53              "__experimentalTextDecoration": true,
  54              "__experimentalLetterSpacing": true,
  55              "__experimentalDefaultControls": {
  56                  "fontSize": true
  57              }
  58          },
  59          "layout": {
  60              "allowEditing": false
  61          },
  62          "interactivity": {
  63              "clientNavigation": true
  64          }
  65      },
  66      "editorStyle": "wp-block-details-editor",
  67      "style": "wp-block-details"
  68  }


Generated : Sun May 12 08:20:02 2024 Cross-referenced by PHPXref