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