[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-content",
   5      "title": "Content",
   6      "category": "theme",
   7      "description": "Displays the contents of a post or page.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType", "queryId" ],
  10      "example": {
  11          "viewportWidth": 350
  12      },
  13      "supports": {
  14          "align": [ "wide", "full" ],
  15          "html": false,
  16          "layout": true,
  17          "background": {
  18              "backgroundImage": true,
  19              "backgroundSize": true,
  20              "__experimentalDefaultControls": {
  21                  "backgroundImage": true
  22              }
  23          },
  24          "dimensions": {
  25              "minHeight": true
  26          },
  27          "spacing": {
  28              "blockGap": true,
  29              "padding": true,
  30              "__experimentalDefaultControls": {
  31                  "margin": false,
  32                  "padding": false
  33              }
  34          },
  35          "color": {
  36              "gradients": true,
  37              "link": true,
  38              "__experimentalDefaultControls": {
  39                  "background": false,
  40                  "text": false
  41              }
  42          },
  43          "typography": {
  44              "fontSize": true,
  45              "lineHeight": true,
  46              "__experimentalFontFamily": true,
  47              "__experimentalFontWeight": true,
  48              "__experimentalFontStyle": true,
  49              "__experimentalTextTransform": true,
  50              "__experimentalTextDecoration": true,
  51              "__experimentalLetterSpacing": true,
  52              "__experimentalDefaultControls": {
  53                  "fontSize": true
  54              }
  55          }
  56      },
  57      "style": "wp-block-post-content",
  58      "editorStyle": "wp-block-post-content-editor"
  59  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref