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

82 lines
1.7 KiB
JSON
Raw Normal View History

2023-09-26 10:33:34 +02:00
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "core/details",
"title": "Details",
"category": "text",
"description": "Hide and show additional content.",
2025-12-12 13:15:55 +01:00
"keywords": [ "summary", "toggle", "disclosure" ],
2023-09-26 10:33:34 +02:00
"textdomain": "default",
"attributes": {
"showContent": {
"type": "boolean",
"default": false
},
"summary": {
2024-04-17 11:32:24 +02:00
"type": "rich-text",
"source": "rich-text",
2025-12-12 13:15:55 +01:00
"selector": "summary",
"role": "content"
2025-04-25 12:30:07 +02:00
},
"name": {
"type": "string",
"source": "attribute",
"attribute": "name",
"selector": ".wp-block-details"
},
"placeholder": {
"type": "string"
2023-09-26 10:33:34 +02:00
}
},
"supports": {
2025-02-28 08:42:11 +01:00
"__experimentalOnEnter": true,
2023-09-26 10:33:34 +02:00
"align": [ "wide", "full" ],
2025-04-25 12:30:07 +02:00
"anchor": true,
2023-09-26 10:33:34 +02:00
"color": {
"gradients": true,
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"__experimentalBorder": {
"color": true,
"width": true,
"style": true
},
"html": false,
"spacing": {
"margin": true,
"padding": true,
2023-12-07 09:44:11 +01:00
"blockGap": true,
2023-09-26 10:33:34 +02:00
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
2023-12-07 09:44:11 +01:00
},
"layout": {
"allowEditing": false
2024-04-17 11:32:24 +02:00
},
"interactivity": {
"clientNavigation": true
2025-12-12 13:15:55 +01:00
},
"allowedBlocks": true
2023-09-26 10:33:34 +02:00
},
"editorStyle": "wp-block-details-editor",
"style": "wp-block-details"
}