[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/preformatted",
   5      "title": "Preformatted",
   6      "category": "text",
   7      "description": "Add text that respects your spacing and tabs, and also allows styling.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "content": {
  11              "type": "rich-text",
  12              "source": "rich-text",
  13              "selector": "pre",
  14              "__unstablePreserveWhiteSpace": true,
  15              "__experimentalRole": "content"
  16          }
  17      },
  18      "supports": {
  19          "anchor": true,
  20          "color": {
  21              "gradients": true,
  22              "__experimentalDefaultControls": {
  23                  "background": true,
  24                  "text": true
  25              }
  26          },
  27          "spacing": {
  28              "padding": true,
  29              "margin": true
  30          },
  31          "typography": {
  32              "fontSize": true,
  33              "lineHeight": true,
  34              "__experimentalFontFamily": true,
  35              "__experimentalFontWeight": true,
  36              "__experimentalFontStyle": true,
  37              "__experimentalTextTransform": true,
  38              "__experimentalTextDecoration": true,
  39              "__experimentalLetterSpacing": true,
  40              "__experimentalDefaultControls": {
  41                  "fontSize": true
  42              }
  43          },
  44          "interactivity": {
  45              "clientNavigation": true
  46          }
  47      },
  48      "style": "wp-block-preformatted"
  49  }


Generated : Sat May 4 08:20:02 2024 Cross-referenced by PHPXref