kollapsminoriteten/wp-includes/blocks/post-content/block.json

83 lines
1.7 KiB
JSON
Raw Normal View History

2021-07-23 11:58:50 +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,
2021-07-23 11:58:50 +02:00
"name": "core/post-content",
2023-12-07 09:44:11 +01:00
"title": "Content",
2021-07-23 11:58:50 +02:00
"category": "theme",
"description": "Displays the contents of a post or page.",
"textdomain": "default",
"usesContext": [ "postId", "postType", "queryId" ],
2025-12-12 13:15:55 +01:00
"attributes": {
"tagName": {
"type": "string",
"default": "div"
}
},
2025-02-28 08:42:11 +01:00
"example": {
"viewportWidth": 350
},
2021-07-23 11:58:50 +02:00
"supports": {
"align": [ "wide", "full" ],
"html": false,
2023-09-26 10:33:34 +02:00
"layout": true,
2025-02-28 08:42:11 +01:00
"background": {
"backgroundImage": true,
"backgroundSize": true,
"__experimentalDefaultControls": {
"backgroundImage": true
}
},
2023-04-26 17:39:43 +02:00
"dimensions": {
"minHeight": true
},
2023-12-07 09:44:11 +01:00
"spacing": {
2025-02-28 08:42:11 +01:00
"blockGap": true,
"padding": true,
2025-04-25 12:30:07 +02:00
"margin": true,
2025-02-28 08:42:11 +01:00
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
2023-12-07 09:44:11 +01:00
},
"color": {
"gradients": true,
2025-04-25 12:30:07 +02:00
"heading": true,
2023-12-07 09:44:11 +01:00
"link": true,
"__experimentalDefaultControls": {
"background": false,
"text": false
}
},
2022-12-15 17:47:31 +01:00
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
2025-04-25 12:30:07 +02:00
},
2025-12-12 13:15:55 +01:00
"interactivity": {
"clientNavigation": true
},
2025-04-25 12:30:07 +02:00
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"radius": true,
"color": true,
"width": true,
"style": true
}
2022-12-15 17:47:31 +01:00
}
2021-07-23 11:58:50 +02:00
},
2025-02-28 08:42:11 +01:00
"style": "wp-block-post-content",
2021-07-23 11:58:50 +02:00
"editorStyle": "wp-block-post-content-editor"
}