[ 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          "color": {
  17              "gradients": true,
  18              "text": false,
  19              "__experimentalDefaultControls": {
  20                  "background": true
  21              }
  22          },
  23          "spacing": {
  24              "blockGap": [ "horizontal", "vertical" ],
  25              "padding": true,
  26              "margin": [ "top", "bottom" ],
  27              "__experimentalDefaultControls": {
  28                  "blockGap": true
  29              }
  30          },
  31          "typography": {
  32              "fontSize": true,
  33              "lineHeight": true,
  34              "__experimentalFontFamily": true,
  35              "__experimentalFontWeight": true,
  36              "__experimentalFontStyle": true,
  37              "__experimentalTextTransform": true,
  38              "__experimentalTextDecoration": true,
  39              "__experimentalLetterSpacing": true,
  40              "__experimentalDefaultControls": {
  41                  "fontSize": true
  42              }
  43          },
  44          "__experimentalBorder": {
  45              "color": true,
  46              "radius": true,
  47              "style": true,
  48              "width": true,
  49              "__experimentalDefaultControls": {
  50                  "color": true,
  51                  "radius": true,
  52                  "style": true,
  53                  "width": true
  54              }
  55          },
  56          "layout": {
  57              "allowSwitching": false,
  58              "allowInheriting": false,
  59              "default": {
  60                  "type": "flex"
  61              }
  62          },
  63          "interactivity": {
  64              "clientNavigation": true
  65          }
  66      },
  67      "editorStyle": "wp-block-buttons-editor",
  68      "style": "wp-block-buttons"
  69  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref