[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/columns",
   5      "title": "Columns",
   6      "category": "design",
   7      "allowedBlocks": [ "core/column" ],
   8      "description": "Display content in multiple columns, with blocks added to each column.",
   9      "textdomain": "default",
  10      "attributes": {
  11          "verticalAlignment": {
  12              "type": "string"
  13          },
  14          "isStackedOnMobile": {
  15              "type": "boolean",
  16              "default": true
  17          },
  18          "templateLock": {
  19              "type": [ "string", "boolean" ],
  20              "enum": [ "all", "insert", "contentOnly", false ]
  21          }
  22      },
  23      "supports": {
  24          "anchor": true,
  25          "align": [ "wide", "full" ],
  26          "html": false,
  27          "color": {
  28              "gradients": true,
  29              "link": true,
  30              "heading": true,
  31              "button": true,
  32              "__experimentalDefaultControls": {
  33                  "background": true,
  34                  "text": true
  35              }
  36          },
  37          "spacing": {
  38              "blockGap": {
  39                  "__experimentalDefault": "2em",
  40                  "sides": [ "horizontal", "vertical" ]
  41              },
  42              "margin": [ "top", "bottom" ],
  43              "padding": true,
  44              "__experimentalDefaultControls": {
  45                  "padding": true,
  46                  "blockGap": true
  47              }
  48          },
  49          "layout": {
  50              "allowSwitching": false,
  51              "allowInheriting": false,
  52              "allowEditing": false,
  53              "default": {
  54                  "type": "flex",
  55                  "flexWrap": "nowrap"
  56              }
  57          },
  58          "__experimentalBorder": {
  59              "color": true,
  60              "radius": true,
  61              "style": true,
  62              "width": true,
  63              "__experimentalDefaultControls": {
  64                  "color": true,
  65                  "radius": true,
  66                  "style": true,
  67                  "width": true
  68              }
  69          },
  70          "typography": {
  71              "fontSize": true,
  72              "lineHeight": true,
  73              "__experimentalFontFamily": true,
  74              "__experimentalFontWeight": true,
  75              "__experimentalFontStyle": true,
  76              "__experimentalTextTransform": true,
  77              "__experimentalTextDecoration": true,
  78              "__experimentalLetterSpacing": true,
  79              "__experimentalDefaultControls": {
  80                  "fontSize": true
  81              }
  82          },
  83          "interactivity": {
  84              "clientNavigation": true
  85          },
  86          "shadow": true
  87      },
  88      "editorStyle": "wp-block-columns-editor",
  89      "style": "wp-block-columns"
  90  }


Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref