diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/blocks/details/block.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-includes/blocks/details/block.json Fri Sep 05 18:40:08 2025 +0200 @@ -0,0 +1,69 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/details", + "title": "Details", + "category": "text", + "description": "Hide and show additional content.", + "keywords": [ "accordion", "summary", "toggle", "disclosure" ], + "textdomain": "default", + "attributes": { + "showContent": { + "type": "boolean", + "default": false + }, + "summary": { + "type": "rich-text", + "source": "rich-text", + "selector": "summary" + } + }, + "supports": { + "__experimentalOnEnter": true, + "align": [ "wide", "full" ], + "color": { + "gradients": true, + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } + }, + "__experimentalBorder": { + "color": true, + "width": true, + "style": true + }, + "html": false, + "spacing": { + "margin": true, + "padding": true, + "blockGap": true, + "__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 + } + }, + "layout": { + "allowEditing": false + }, + "interactivity": { + "clientNavigation": true + } + }, + "editorStyle": "wp-block-details-editor", + "style": "wp-block-details" +}