[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-time-to-read/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-time-to-read",
   5      "title": "Time to Read",
   6      "category": "theme",
   7      "description": "Show minutes required to finish reading the post. Can also show a word count.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType" ],
  10      "attributes": {
  11          "textAlign": {
  12              "type": "string"
  13          },
  14          "displayAsRange": {
  15              "type": "boolean",
  16              "default": true
  17          },
  18          "displayMode": {
  19              "type": "string",
  20              "default": "time"
  21          },
  22          "averageReadingSpeed": {
  23              "type": "number",
  24              "default": 189
  25          }
  26      },
  27      "supports": {
  28          "color": {
  29              "gradients": true,
  30              "__experimentalDefaultControls": {
  31                  "background": true,
  32                  "text": true
  33              }
  34          },
  35          "html": false,
  36          "spacing": {
  37              "margin": true,
  38              "padding": true,
  39              "__experimentalDefaultControls": {
  40                  "margin": false,
  41                  "padding": false
  42              }
  43          },
  44          "typography": {
  45              "fontSize": true,
  46              "lineHeight": true,
  47              "__experimentalFontFamily": true,
  48              "__experimentalFontWeight": true,
  49              "__experimentalFontStyle": true,
  50              "__experimentalTextTransform": true,
  51              "__experimentalTextDecoration": true,
  52              "__experimentalLetterSpacing": true,
  53              "__experimentalDefaultControls": {
  54                  "fontSize": true
  55              }
  56          },
  57          "interactivity": {
  58              "clientNavigation": true
  59          },
  60          "__experimentalBorder": {
  61              "radius": true,
  62              "color": true,
  63              "width": true,
  64              "style": true
  65          }
  66      }
  67  }


Generated : Sat Oct 25 08:20:05 2025 Cross-referenced by PHPXref