kollapsminoriteten/wp-includes/blocks/paragraph/block.json

82 lines
1.7 KiB
JSON
Raw Normal View History

2020-09-15 14:29:22 +02:00
{
2022-06-16 14:03:35 +02:00
"$schema": "https://schemas.wp.org/trunk/block.json",
2023-09-26 10:33:34 +02:00
"apiVersion": 3,
2020-09-15 14:29:22 +02:00
"name": "core/paragraph",
2021-07-23 11:58:50 +02:00
"title": "Paragraph",
2020-09-15 14:29:22 +02:00
"category": "text",
2022-06-16 14:03:35 +02:00
"description": "Start with the basic building block of all narrative.",
2021-07-23 11:58:50 +02:00
"keywords": [ "text" ],
"textdomain": "default",
2020-09-15 14:29:22 +02:00
"attributes": {
"align": {
"type": "string"
},
"content": {
2024-04-17 11:32:24 +02:00
"type": "rich-text",
"source": "rich-text",
2020-09-15 14:29:22 +02:00
"selector": "p",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-09-15 14:29:22 +02:00
},
"dropCap": {
"type": "boolean",
"default": false
},
"placeholder": {
"type": "string"
},
"direction": {
"type": "string",
2021-07-23 11:58:50 +02:00
"enum": [ "ltr", "rtl" ]
2020-09-15 14:29:22 +02:00
}
},
"supports": {
2025-02-28 08:42:11 +01:00
"splitting": true,
2020-09-15 14:29:22 +02:00
"anchor": true,
"className": false,
2025-02-28 08:42:11 +01:00
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true
},
2020-12-10 14:06:04 +01:00
"color": {
2022-12-15 17:47:31 +01:00
"gradients": true,
2022-06-16 14:03:35 +02:00
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
2020-09-15 14:29:22 +02:00
},
2022-12-15 17:47:31 +01:00
"spacing": {
"margin": true,
2023-09-26 10:33:34 +02:00
"padding": true,
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
2022-12-15 17:47:31 +01:00
},
2021-07-23 11:58:50 +02:00
"typography": {
"fontSize": true,
2022-04-02 10:26:41 +02:00
"lineHeight": true,
2022-12-15 17:47:31 +01:00
"__experimentalFontFamily": true,
"__experimentalTextDecoration": true,
2022-04-02 10:26:41 +02:00
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true,
2023-12-07 09:44:11 +01:00
"__experimentalWritingMode": true,
2025-12-12 13:15:55 +01:00
"fitText": true,
2022-04-02 10:26:41 +02:00
"__experimentalDefaultControls": {
"fontSize": true
}
2021-07-23 11:58:50 +02:00
},
2020-09-15 14:29:22 +02:00
"__experimentalSelector": "p",
2024-04-17 11:32:24 +02:00
"__unstablePasteTextInline": true,
"interactivity": {
"clientNavigation": true
}
2021-04-27 08:32:47 +02:00
},
"editorStyle": "wp-block-paragraph-editor",
"style": "wp-block-paragraph"
2020-09-15 14:29:22 +02:00
}