[ 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              "__experimentalDefaultControls": {
  42                  "color": true,
  43                  "radius": true,
  44                  "style": true,
  45                  "width": true
  46              }
  47          },
  48          "color": {
  49              "gradients": true,
  50              "link": true,
  51              "__experimentalDefaultControls": {
  52                  "background": true,
  53                  "text": true
  54              }
  55          },
  56          "spacing": {
  57              "margin": true,
  58              "padding": true,
  59              "__experimentalDefaultControls": {
  60                  "margin": false,
  61                  "padding": false
  62              }
  63          },
  64          "typography": {
  65              "fontSize": true,
  66              "lineHeight": true,
  67              "__experimentalFontFamily": true,
  68              "__experimentalFontStyle": true,
  69              "__experimentalFontWeight": true,
  70              "__experimentalLetterSpacing": true,
  71              "__experimentalTextTransform": true,
  72              "__experimentalTextDecoration": true,
  73              "__experimentalWritingMode": true,
  74              "__experimentalDefaultControls": {
  75                  "fontSize": true
  76              }
  77          },
  78          "__unstablePasteTextInline": true,
  79          "__experimentalSlashInserter": true,
  80          "interactivity": {
  81              "clientNavigation": true
  82          }
  83      },
  84      "editorStyle": "wp-block-heading-editor",
  85      "style": "wp-block-heading"
  86  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref