[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/tag-cloud/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/tag-cloud",
   5      "title": "Tag Cloud",
   6      "category": "widgets",
   7      "description": "A cloud of popular keywords, each sized by how often it appears.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "numberOfTags": {
  11              "type": "number",
  12              "default": 45,
  13              "minimum": 1,
  14              "maximum": 100
  15          },
  16          "taxonomy": {
  17              "type": "string",
  18              "default": "post_tag"
  19          },
  20          "showTagCounts": {
  21              "type": "boolean",
  22              "default": false
  23          },
  24          "smallestFontSize": {
  25              "type": "string",
  26              "default": "8pt"
  27          },
  28          "largestFontSize": {
  29              "type": "string",
  30              "default": "22pt"
  31          }
  32      },
  33      "styles": [
  34          { "name": "default", "label": "Default", "isDefault": true },
  35          { "name": "outline", "label": "Outline" }
  36      ],
  37      "supports": {
  38          "html": false,
  39          "align": true,
  40          "spacing": {
  41              "margin": true,
  42              "padding": true
  43          },
  44          "typography": {
  45              "lineHeight": true,
  46              "__experimentalFontFamily": true,
  47              "__experimentalFontWeight": true,
  48              "__experimentalFontStyle": true,
  49              "__experimentalTextTransform": true,
  50              "__experimentalLetterSpacing": true
  51          },
  52          "interactivity": {
  53              "clientNavigation": true
  54          },
  55          "__experimentalBorder": {
  56              "radius": true,
  57              "color": true,
  58              "width": true,
  59              "style": true,
  60              "__experimentalDefaultControls": {
  61                  "radius": true,
  62                  "color": true,
  63                  "width": true,
  64                  "style": true
  65              }
  66          }
  67      },
  68      "editorStyle": "wp-block-tag-cloud-editor"
  69  }


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