author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
16 | 1 |
{ |
19 | 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
3 |
"apiVersion": 3, |
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": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
15 |
"type": "rich-text", |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
16 |
"source": "rich-text", |
16 | 17 |
"selector": "h1,h2,h3,h4,h5,h6", |
18 | 18 |
"__experimentalRole": "content" |
16 | 19 |
}, |
20 |
"level": { |
|
21 |
"type": "number", |
|
22 |
"default": 2 |
|
23 |
}, |
|
24 |
"placeholder": { |
|
25 |
"type": "string" |
|
26 |
} |
|
27 |
}, |
|
28 |
"supports": { |
|
18 | 29 |
"align": [ "wide", "full" ], |
16 | 30 |
"anchor": true, |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
31 |
"className": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
32 |
"splitting": true, |
18 | 33 |
"color": { |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
34 |
"gradients": true, |
19 | 35 |
"link": true, |
36 |
"__experimentalDefaultControls": { |
|
37 |
"background": true, |
|
38 |
"text": true |
|
39 |
} |
|
40 |
}, |
|
41 |
"spacing": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
42 |
"margin": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
"padding": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
"__experimentalDefaultControls": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
"margin": false, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
46 |
"padding": false |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
47 |
} |
16 | 48 |
}, |
18 | 49 |
"typography": { |
50 |
"fontSize": true, |
|
51 |
"lineHeight": true, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
52 |
"__experimentalFontFamily": true, |
19 | 53 |
"__experimentalFontStyle": true, |
54 |
"__experimentalFontWeight": true, |
|
55 |
"__experimentalLetterSpacing": true, |
|
56 |
"__experimentalTextTransform": true, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
57 |
"__experimentalTextDecoration": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
58 |
"__experimentalWritingMode": true, |
19 | 59 |
"__experimentalDefaultControls": { |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
60 |
"fontSize": true |
19 | 61 |
} |
16 | 62 |
}, |
19 | 63 |
"__unstablePasteTextInline": true, |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
64 |
"__experimentalSlashInserter": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
65 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
66 |
"clientNavigation": true |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
67 |
} |
18 | 68 |
}, |
69 |
"editorStyle": "wp-block-heading-editor", |
|
70 |
"style": "wp-block-heading" |
|
16 | 71 |
} |