[ 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              "__experimentalRole": "content"
  19          },
  20          "level": {
  21              "type": "number",
  22              "default": 2
  23          },
  24          "placeholder": {
  25              "type": "string"
  26          }
  27      },
  28      "supports": {
  29          "align": [ "wide", "full" ],
  30          "anchor": true,
  31          "className": true,
  32          "color": {
  33              "gradients": true,
  34              "link": true,
  35              "__experimentalDefaultControls": {
  36                  "background": true,
  37                  "text": true
  38              }
  39          },
  40          "spacing": {
  41              "margin": true,
  42              "padding": true,
  43              "__experimentalDefaultControls": {
  44                  "margin": false,
  45                  "padding": false
  46              }
  47          },
  48          "typography": {
  49              "fontSize": true,
  50              "lineHeight": true,
  51              "__experimentalFontFamily": true,
  52              "__experimentalFontStyle": true,
  53              "__experimentalFontWeight": true,
  54              "__experimentalLetterSpacing": true,
  55              "__experimentalTextTransform": true,
  56              "__experimentalTextDecoration": true,
  57              "__experimentalWritingMode": true,
  58              "__experimentalDefaultControls": {
  59                  "fontSize": true
  60              }
  61          },
  62          "__unstablePasteTextInline": true,
  63          "__experimentalSlashInserter": true,
  64          "interactivity": {
  65              "clientNavigation": true
  66          }
  67      },
  68      "editorStyle": "wp-block-heading-editor",
  69      "style": "wp-block-heading"
  70  }


Generated : Mon May 6 08:20:02 2024 Cross-referenced by PHPXref