- md5
- d00eece4a58fdff4d618bfea43783ff2
- sha1
- aab270051012747762109a9b05dceb13f521ef12
- sha256
- 67ae118419c928a3a9dc4e0433df2d15708f238b44cc79511af2bb9b23122f63
{
"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,
"__experimentalSelector": ".wp-block-code > code",
"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
},
"color": {
"text": true,
"background": true,
"gradients": true
}
},
"style": "wp-block-code"
}
The same content is in 31 releases, WordPress 5.9-beta1 to 5.9.20. See them all, or every version of this file.