[ 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      "usesContext": [ "postId" ],
  11      "attributes": {
  12          "align": {
  13              "type": "string"
  14          },
  15          "content": {
  16              "type": "rich-text",
  17              "source": "rich-text",
  18              "selector": "p",
  19              "__experimentalRole": "content"
  20          },
  21          "dropCap": {
  22              "type": "boolean",
  23              "default": false
  24          },
  25          "placeholder": {
  26              "type": "string"
  27          },
  28          "direction": {
  29              "type": "string",
  30              "enum": [ "ltr", "rtl" ]
  31          }
  32      },
  33      "supports": {
  34          "anchor": true,
  35          "className": false,
  36          "color": {
  37              "gradients": true,
  38              "link": true,
  39              "__experimentalDefaultControls": {
  40                  "background": true,
  41                  "text": true
  42              }
  43          },
  44          "spacing": {
  45              "margin": true,
  46              "padding": true,
  47              "__experimentalDefaultControls": {
  48                  "margin": false,
  49                  "padding": false
  50              }
  51          },
  52          "typography": {
  53              "fontSize": true,
  54              "lineHeight": true,
  55              "__experimentalFontFamily": true,
  56              "__experimentalTextDecoration": true,
  57              "__experimentalFontStyle": true,
  58              "__experimentalFontWeight": true,
  59              "__experimentalLetterSpacing": true,
  60              "__experimentalTextTransform": true,
  61              "__experimentalWritingMode": true,
  62              "__experimentalDefaultControls": {
  63                  "fontSize": true
  64              }
  65          },
  66          "__experimentalSelector": "p",
  67          "__unstablePasteTextInline": true,
  68          "interactivity": {
  69              "clientNavigation": true
  70          }
  71      },
  72      "editorStyle": "wp-block-paragraph-editor",
  73      "style": "wp-block-paragraph"
  74  }


Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref