[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/heading",
   5      "title": "Heading",
   6      "category": "text",
   7      "description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",
   8      "keywords": [ "title", "subtitle" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "textAlign": {
  12              "type": "string"
  13          },
  14          "content": {
  15              "type": "rich-text",
  16              "source": "rich-text",
  17              "selector": "h1,h2,h3,h4,h5,h6",
  18              "role": "content"
  19          },
  20          "level": {
  21              "type": "number",
  22              "default": 2
  23          },
  24          "levelOptions": {
  25              "type": "array"
  26          },
  27          "placeholder": {
  28              "type": "string"
  29          }
  30      },
  31      "supports": {
  32          "align": [ "wide", "full" ],
  33          "anchor": true,
  34          "className": true,
  35          "splitting": true,
  36          "__experimentalBorder": {
  37              "color": true,
  38              "radius": true,
  39              "style": true,
  40              "width": true
  41          },
  42          "color": {
  43              "gradients": true,
  44              "link": true,
  45              "__experimentalDefaultControls": {
  46                  "background": true,
  47                  "text": true
  48              }
  49          },
  50          "spacing": {
  51              "margin": true,
  52              "padding": true,
  53              "__experimentalDefaultControls": {
  54                  "margin": false,
  55                  "padding": false
  56              }
  57          },
  58          "typography": {
  59              "fontSize": true,
  60              "lineHeight": true,
  61              "__experimentalFontFamily": true,
  62              "__experimentalFontStyle": true,
  63              "__experimentalFontWeight": true,
  64              "__experimentalLetterSpacing": true,
  65              "__experimentalTextTransform": true,
  66              "__experimentalTextDecoration": true,
  67              "__experimentalWritingMode": true,
  68              "__experimentalDefaultControls": {
  69                  "fontSize": true
  70              }
  71          },
  72          "__unstablePasteTextInline": true,
  73          "__experimentalSlashInserter": true,
  74          "interactivity": {
  75              "clientNavigation": true
  76          }
  77      },
  78      "editorStyle": "wp-block-heading-editor",
  79      "style": "wp-block-heading"
  80  }


Generated : Sat Feb 22 08:20:01 2025 Cross-referenced by PHPXref