47 lines
1010 B
JSON
47 lines
1010 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/list-item",
|
|
"title": "List item",
|
|
"category": "text",
|
|
"parent": [ "core/list" ],
|
|
"description": "Create a list item.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"placeholder": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "rich-text",
|
|
"source": "rich-text",
|
|
"selector": "li",
|
|
"__experimentalRole": "content"
|
|
}
|
|
},
|
|
"supports": {
|
|
"className": false,
|
|
"__experimentalSelector": "li",
|
|
"spacing": {
|
|
"margin": true,
|
|
"padding": true,
|
|
"__experimentalDefaultControls": {
|
|
"margin": false,
|
|
"padding": false
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true,
|
|
"__experimentalFontWeight": true,
|
|
"__experimentalFontStyle": true,
|
|
"__experimentalTextTransform": true,
|
|
"__experimentalTextDecoration": true,
|
|
"__experimentalLetterSpacing": true,
|
|
"__experimentalDefaultControls": {
|
|
"fontSize": true
|
|
}
|
|
}
|
|
}
|
|
}
|