ldc-regalette/wp-includes/blocks/code/block.json

55 lines
1.1 KiB
JSON
Raw Normal View History

2020-08-20 16:36:31 +02:00
{
2022-11-09 14:14:13 +00:00
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
2020-08-20 16:36:31 +02:00
"name": "core/code",
2022-11-09 14:14:13 +00:00
"title": "Code",
2020-08-20 16:36:31 +02:00
"category": "text",
2022-11-09 14:14:13 +00:00
"description": "Display code snippets that respect your spacing and tabs.",
"textdomain": "default",
2020-08-20 16:36:31 +02:00
"attributes": {
"content": {
"type": "string",
2022-11-09 14:14:13 +00:00
"source": "html",
2020-08-20 16:36:31 +02:00
"selector": "code"
}
},
"supports": {
"anchor": true,
2022-11-09 14:14:13 +00:00
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"spacing": {
"margin": [ "top", "bottom" ],
"padding": true
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"width": true,
"color": true
}
},
"color": {
"text": true,
"background": true,
"gradients": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
}
},
"style": "wp-block-code"
2020-08-20 16:36:31 +02:00
}