WordPress/wp-includes/blocks/code/block.json

23 lines
395 B
JSON

{
"apiVersion": 2,
"name": "core/code",
"title": "Code",
"category": "text",
"description": "Display code snippets that respect your spacing and tabs.",
"textdomain": "default",
"attributes": {
"content": {
"type": "string",
"source": "html",
"selector": "code"
}
},
"supports": {
"anchor": true,
"typography": {
"fontSize": true
}
},
"style": "wp-block-code"
}