[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/buttons",
   5      "title": "Buttons",
   6      "category": "design",
   7      "allowedBlocks": [ "core/button" ],
   8      "description": "Prompt visitors to take action with a group of button-style links.",
   9      "keywords": [ "link" ],
  10      "textdomain": "default",
  11      "supports": {
  12          "anchor": true,
  13          "align": [ "wide", "full" ],
  14          "html": false,
  15          "__experimentalExposeControlsToChildren": true,
  16          "background": {
  17              "backgroundImage": true,
  18              "backgroundSize": true,
  19              "gradient": true,
  20              "__experimentalDefaultControls": {
  21                  "backgroundImage": true,
  22                  "gradient": true
  23              }
  24          },
  25          "color": {
  26              "gradients": true,
  27              "text": false,
  28              "__experimentalDefaultControls": {
  29                  "background": true
  30              }
  31          },
  32          "spacing": {
  33              "blockGap": [ "horizontal", "vertical" ],
  34              "padding": true,
  35              "margin": [ "top", "bottom" ],
  36              "__experimentalDefaultControls": {
  37                  "blockGap": true
  38              }
  39          },
  40          "typography": {
  41              "fontSize": true,
  42              "lineHeight": true,
  43              "__experimentalFontFamily": true,
  44              "__experimentalFontWeight": true,
  45              "__experimentalFontStyle": true,
  46              "__experimentalTextTransform": true,
  47              "__experimentalTextDecoration": true,
  48              "__experimentalLetterSpacing": true,
  49              "__experimentalDefaultControls": {
  50                  "fontSize": true
  51              }
  52          },
  53          "dimensions": {
  54              "minHeight": true,
  55              "minWidth": true
  56          },
  57          "__experimentalBorder": {
  58              "color": true,
  59              "radius": true,
  60              "style": true,
  61              "width": true,
  62              "__experimentalDefaultControls": {
  63                  "color": true,
  64                  "radius": true,
  65                  "style": true,
  66                  "width": true
  67              }
  68          },
  69          "layout": {
  70              "allowSwitching": false,
  71              "allowInheriting": false,
  72              "default": {
  73                  "type": "flex"
  74              }
  75          },
  76          "interactivity": {
  77              "clientNavigation": true
  78          },
  79          "listView": true,
  80          "contentRole": true,
  81          "shadow": true
  82      },
  83      "editorStyle": "wp-block-buttons-editor",
  84      "style": "wp-block-buttons"
  85  }


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