[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-excerpt",
   5      "title": "Excerpt",
   6      "category": "theme",
   7      "description": "Display the excerpt.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "moreText": {
  11              "type": "string",
  12              "role": "content"
  13          },
  14          "showMoreOnNewLine": {
  15              "type": "boolean",
  16              "default": true
  17          },
  18          "excerptLength": {
  19              "type": "number",
  20              "default": 55
  21          }
  22      },
  23      "usesContext": [ "postId", "postType", "queryId" ],
  24      "example": {
  25          "viewportWidth": 350
  26      },
  27      "supports": {
  28          "anchor": true,
  29          "html": false,
  30          "background": {
  31              "backgroundImage": true,
  32              "backgroundSize": true,
  33              "gradient": true
  34          },
  35          "color": {
  36              "gradients": true,
  37              "link": true,
  38              "__experimentalDefaultControls": {
  39                  "background": true,
  40                  "text": true,
  41                  "link": true
  42              }
  43          },
  44          "shadow": true,
  45          "spacing": {
  46              "margin": true,
  47              "padding": true
  48          },
  49          "dimensions": {
  50              "minHeight": true,
  51              "minWidth": true
  52          },
  53          "typography": {
  54              "fontSize": true,
  55              "lineHeight": true,
  56              "textAlign": true,
  57              "textColumns": true,
  58              "__experimentalFontFamily": true,
  59              "__experimentalFontWeight": true,
  60              "__experimentalFontStyle": true,
  61              "__experimentalTextTransform": true,
  62              "__experimentalTextDecoration": true,
  63              "__experimentalLetterSpacing": true,
  64              "__experimentalDefaultControls": {
  65                  "fontSize": true
  66              }
  67          },
  68          "interactivity": {
  69              "clientNavigation": true
  70          },
  71          "__experimentalBorder": {
  72              "radius": true,
  73              "color": true,
  74              "width": true,
  75              "style": true,
  76              "__experimentalDefaultControls": {
  77                  "radius": true,
  78                  "color": true,
  79                  "width": true,
  80                  "style": true
  81              }
  82          }
  83      },
  84      "editorStyle": "wp-block-post-excerpt-editor",
  85      "style": "wp-block-post-excerpt"
  86  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref