| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 2, |
| 4 |
"name": "core/heading", |
| 5 |
"title": "Heading", |
| 6 |
"category": "text", |
| 7 |
"description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.", |
| 8 |
"keywords": [ "title", "subtitle" ], |
| 9 |
"textdomain": "default", |
| 10 |
"attributes": { |
| 11 |
"textAlign": { |
| 12 |
"type": "string" |
| 13 |
}, |
| 14 |
"content": { |
| 15 |
"type": "string", |
| 16 |
"source": "html", |
| 17 |
"selector": "h1,h2,h3,h4,h5,h6", |
| 18 |
"default": "", |
| 19 |
"__experimentalRole": "content" |
| 20 |
}, |
| 21 |
"level": { |
| 22 |
"type": "number", |
| 23 |
"default": 2 |
| 24 |
}, |
| 25 |
"placeholder": { |
| 26 |
"type": "string" |
| 27 |
} |
| 28 |
}, |
| 29 |
"supports": { |
| 30 |
"align": [ "wide", "full" ], |
| 31 |
"anchor": true, |
| 32 |
"className": false, |
| 33 |
"color": { |
| 34 |
"link": true, |
| 35 |
"__experimentalDefaultControls": { |
| 36 |
"background": true, |
| 37 |
"text": true |
| 38 |
} |
| 39 |
}, |
| 40 |
"spacing": { |
| 41 |
"margin": true |
| 42 |
}, |
| 43 |
"typography": { |
| 44 |
"fontSize": true, |
| 45 |
"lineHeight": true, |
| 46 |
"__experimentalFontStyle": true, |
| 47 |
"__experimentalFontWeight": true, |
| 48 |
"__experimentalLetterSpacing": true, |
| 49 |
"__experimentalTextTransform": true, |
| 50 |
"__experimentalDefaultControls": { |
| 51 |
"fontSize": true, |
| 52 |
"fontAppearance": true, |
| 53 |
"textTransform": true |
| 54 |
} |
| 55 |
}, |
| 56 |
"__experimentalSelector": "h1,h2,h3,h4,h5,h6", |
| 57 |
"__unstablePasteTextInline": true, |
| 58 |
"__experimentalSlashInserter": true |
| 59 |
}, |
| 60 |
"editorStyle": "wp-block-heading-editor", |
| 61 |
"style": "wp-block-heading" |
| 62 |
} |
| 63 |
|