[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/paragraph",
   5      "title": "Paragraph",
   6      "category": "text",
   7      "description": "Start with the basic building block of all narrative.",
   8      "keywords": [ "text" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "align": {
  12              "type": "string"
  13          },
  14          "content": {
  15              "type": "rich-text",
  16              "source": "rich-text",
  17              "selector": "p",
  18              "role": "content"
  19          },
  20          "dropCap": {
  21              "type": "boolean",
  22              "default": false
  23          },
  24          "placeholder": {
  25              "type": "string"
  26          },
  27          "direction": {
  28              "type": "string",
  29              "enum": [ "ltr", "rtl" ]
  30          }
  31      },
  32      "supports": {
  33          "splitting": true,
  34          "anchor": true,
  35          "className": false,
  36          "__experimentalBorder": {
  37              "color": true,
  38              "radius": true,
  39              "style": true,
  40              "width": true
  41          },
  42          "color": {
  43              "gradients": true,
  44              "link": true,
  45              "__experimentalDefaultControls": {
  46                  "background": true,
  47                  "text": true
  48              }
  49          },
  50          "spacing": {
  51              "margin": true,
  52              "padding": true,
  53              "__experimentalDefaultControls": {
  54                  "margin": false,
  55                  "padding": false
  56              }
  57          },
  58          "typography": {
  59              "fontSize": true,
  60              "lineHeight": true,
  61              "__experimentalFontFamily": true,
  62              "__experimentalTextDecoration": true,
  63              "__experimentalFontStyle": true,
  64              "__experimentalFontWeight": true,
  65              "__experimentalLetterSpacing": true,
  66              "__experimentalTextTransform": true,
  67              "__experimentalWritingMode": true,
  68              "__experimentalDefaultControls": {
  69                  "fontSize": true
  70              }
  71          },
  72          "__experimentalSelector": "p",
  73          "__unstablePasteTextInline": true,
  74          "interactivity": {
  75              "clientNavigation": true
  76          }
  77      },
  78      "editorStyle": "wp-block-paragraph-editor",
  79      "style": "wp-block-paragraph"
  80  }


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