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-- |
18 | 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, |
18 | 4 |
"name": "core/post-title", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
5 |
"title": "Title", |
18 | 6 |
"category": "theme", |
7 |
"description": "Displays the title of a post, page, or any other content-type.", |
|
8 |
"textdomain": "default", |
|
9 |
"usesContext": [ "postId", "postType", "queryId" ], |
|
10 |
"attributes": { |
|
11 |
"textAlign": { |
|
12 |
"type": "string" |
|
13 |
}, |
|
14 |
"level": { |
|
15 |
"type": "number", |
|
16 |
"default": 2 |
|
17 |
}, |
|
18 |
"isLink": { |
|
19 |
"type": "boolean", |
|
20 |
"default": false |
|
21 |
}, |
|
22 |
"rel": { |
|
23 |
"type": "string", |
|
24 |
"attribute": "rel", |
|
25 |
"default": "" |
|
26 |
}, |
|
27 |
"linkTarget": { |
|
28 |
"type": "string", |
|
29 |
"default": "_self" |
|
30 |
} |
|
31 |
}, |
|
32 |
"supports": { |
|
33 |
"align": [ "wide", "full" ], |
|
34 |
"html": false, |
|
35 |
"color": { |
|
36 |
"gradients": true, |
|
19 | 37 |
"link": true, |
38 |
"__experimentalDefaultControls": { |
|
39 |
"background": true, |
|
40 |
"text": true, |
|
41 |
"link": true |
|
42 |
} |
|
43 |
}, |
|
44 |
"spacing": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
"margin": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
46 |
"padding": true |
18 | 47 |
}, |
48 |
"typography": { |
|
49 |
"fontSize": true, |
|
50 |
"lineHeight": true, |
|
19 | 51 |
"__experimentalFontFamily": true, |
52 |
"__experimentalFontWeight": true, |
|
53 |
"__experimentalFontStyle": true, |
|
54 |
"__experimentalTextTransform": true, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
55 |
"__experimentalTextDecoration": true, |
19 | 56 |
"__experimentalLetterSpacing": true, |
57 |
"__experimentalDefaultControls": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
58 |
"fontSize": true |
19 | 59 |
} |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
60 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
61 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
62 |
"clientNavigation": true |
18 | 63 |
} |
64 |
}, |
|
65 |
"style": "wp-block-post-title" |
|
66 |
} |