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

82 lines
1.8 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/heading",
2021-07-23 11:58:50 +02:00
"title": "Heading",
2020-09-15 14:29:22 +02:00
"category": "text",
2021-07-23 11:58:50 +02:00
"description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",
"keywords": [ "title", "subtitle" ],
"textdomain": "default",
2020-09-15 14:29:22 +02:00
"attributes": {
2020-12-10 14:06:04 +01:00
"textAlign": {
2020-09-15 14:29:22 +02:00
"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": "h1,h2,h3,h4,h5,h6",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-09-15 14:29:22 +02:00
},
"level": {
"type": "number",
"default": 2
},
2025-02-28 08:42:11 +01:00
"levelOptions": {
"type": "array"
},
2020-09-15 14:29:22 +02:00
"placeholder": {
"type": "string"
}
},
"supports": {
2020-12-10 14:06:04 +01:00
"align": [ "wide", "full" ],
2020-09-15 14:29:22 +02:00
"anchor": true,
2023-04-26 17:39:43 +02:00
"className": true,
2025-02-28 08:42:11 +01:00
"splitting": true,
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
2025-04-25 12:30:07 +02:00
"width": true
2025-02-28 08:42:11 +01:00
},
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-04-02 10:26:41 +02:00
"spacing": {
2022-12-15 17:47:31 +01:00
"margin": true,
2023-09-26 10:33:34 +02:00
"padding": true,
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
2022-04-02 10:26:41 +02:00
},
2021-07-23 11:58:50 +02:00
"typography": {
"fontSize": true,
"lineHeight": true,
2022-12-15 17:47:31 +01:00
"__experimentalFontFamily": true,
2022-04-02 10:26:41 +02:00
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true,
2022-12-15 17:47:31 +01:00
"__experimentalTextDecoration": 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": {
2024-04-17 11:32:24 +02:00
"fontSize": true
2022-04-02 10:26:41 +02:00
}
2020-09-15 14:29:22 +02:00
},
2022-04-02 10:26:41 +02:00
"__unstablePasteTextInline": true,
2024-04-17 11:32:24 +02:00
"__experimentalSlashInserter": true,
"interactivity": {
"clientNavigation": true
}
2021-04-27 08:32:47 +02:00
},
"editorStyle": "wp-block-heading-editor",
"style": "wp-block-heading"
2020-09-15 14:29:22 +02:00
}