sirius-press/wp-includes/blocks/accordion-heading/block.json
Silent Mode 1f173de885 WordPress 7.1.1
Pristine upstream, unpacked from the official wordpress.org tarball.

  https://wordpress.org/wordpress-7.1.1.tar.gz
  sha1   2a9d68474e8703aa3a66f80427b325e0941b6a1e  (published by wordpress.org)
  sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3

This branch carries nothing but upstream releases, one commit each, and is
never edited. It is the other side of the git-subtree merge that brings
security releases into SiriusPress/wordpress/ — see
SiriusPress/docs/upstream-merges.md.
2026-09-21 02:53:57 +02:00

94 lines
2.1 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "core/accordion-heading",
"title": "Accordion Heading",
"category": "design",
"description": "Displays a heading that toggles the accordion panel.",
"parent": [ "core/accordion-item" ],
"usesContext": [
"core/accordion-icon-position",
"core/accordion-show-icon",
"core/accordion-heading-level"
],
"supports": {
"anchor": true,
"color": {
"background": true,
"gradients": true
},
"align": false,
"interactivity": true,
"spacing": {
"padding": true,
"__experimentalDefaultControls": {
"padding": true
},
"__experimentalSkipSerialization": true,
"__experimentalSelector": ".wp-block-accordion-heading__toggle"
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"typography": {
"__experimentalSkipSerialization": [
"textDecoration",
"letterSpacing"
],
"fontSize": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true,
"fontFamily": true
}
},
"shadow": true,
"visibility": false,
"lock": false
},
"selectors": {
"typography": {
"letterSpacing": ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title",
"textDecoration": ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title"
}
},
"attributes": {
"openByDefault": {
"type": "boolean",
"default": false
},
"title": {
"type": "rich-text",
"source": "rich-text",
"selector": ".wp-block-accordion-heading__toggle-title",
"role": "content"
},
"level": {
"type": "number"
},
"iconPosition": {
"type": "string",
"enum": [ "left", "right" ],
"default": "right"
},
"showIcon": {
"type": "boolean",
"default": true
}
},
"textdomain": "default"
}