[ 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              "role": "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          "__experimentalBorder": {
  48              "radius": true,
  49              "color": true,
  50              "width": true,
  51              "style": true,
  52              "__experimentalDefaultControls": {
  53                  "radius": true,
  54                  "color": true,
  55                  "width": true,
  56                  "style": true
  57              }
  58          }
  59      },
  60      "style": "wp-block-preformatted"
  61  }


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