[ 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          "content": {
  12              "type": "rich-text",
  13              "source": "rich-text",
  14              "selector": "h1,h2,h3,h4,h5,h6",
  15              "role": "content"
  16          },
  17          "level": {
  18              "type": "number",
  19              "default": 2
  20          },
  21          "levelOptions": {
  22              "type": "array"
  23          },
  24          "placeholder": {
  25              "type": "string"
  26          }
  27      },
  28      "supports": {
  29          "align": [ "wide", "full" ],
  30          "anchor": true,
  31          "className": true,
  32          "splitting": true,
  33          "__experimentalBorder": {
  34              "color": true,
  35              "radius": true,
  36              "style": true,
  37              "width": true
  38          },
  39          "color": {
  40              "gradients": true,
  41              "link": true,
  42              "__experimentalDefaultControls": {
  43                  "background": true,
  44                  "text": true
  45              }
  46          },
  47          "spacing": {
  48              "margin": true,
  49              "padding": true,
  50              "__experimentalDefaultControls": {
  51                  "margin": false,
  52                  "padding": false
  53              }
  54          },
  55          "typography": {
  56              "fontSize": true,
  57              "lineHeight": true,
  58              "textAlign": true,
  59              "__experimentalFontFamily": true,
  60              "__experimentalFontStyle": true,
  61              "__experimentalFontWeight": true,
  62              "__experimentalLetterSpacing": true,
  63              "__experimentalTextTransform": true,
  64              "__experimentalTextDecoration": true,
  65              "__experimentalWritingMode": true,
  66              "fitText": true,
  67              "__experimentalDefaultControls": {
  68                  "fontSize": true
  69              }
  70          },
  71          "__unstablePasteTextInline": true,
  72          "__experimentalSlashInserter": true,
  73          "interactivity": {
  74              "clientNavigation": true
  75          }
  76      },
  77      "editorStyle": "wp-block-heading-editor",
  78      "style": "wp-block-heading"
  79  }


Generated : Wed Jun 17 08:20:09 2026 Cross-referenced by PHPXref