PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / scripts / block-library / post-author-name / block.json

block.json in Gutenberg trunk, at build/scripts/block-library/post-author-name/block.json

78 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/post-author-name",
5 "title": "Author Name",
6 "category": "theme",
7 "description": "The author name.",
8 "textdomain": "default",
9 "attributes": {
10 "isLink": {
11 "type": "boolean",
12 "default": false,
13 "role": "content"
14 },
15 "linkTarget": {
16 "type": "string",
17 "default": "_self",
18 "role": "content"
19 }
20 },
21 "usesContext": [ "postType", "postId" ],
22 "example": {
23 "viewportWidth": 350
24 },
25 "supports": {
26 "anchor": true,
27 "html": false,
28 "background": {
29 "backgroundImage": true,
30 "backgroundSize": true,
31 "gradient": true
32 },
33 "spacing": {
34 "margin": true,
35 "padding": true
36 },
37 "color": {
38 "gradients": true,
39 "link": true,
40 "__experimentalDefaultControls": {
41 "background": true,
42 "text": true,
43 "link": true
44 }
45 },
46 "typography": {
47 "fontSize": true,
48 "lineHeight": true,
49 "textAlign": true,
50 "__experimentalFontFamily": true,
51 "__experimentalFontWeight": true,
52 "__experimentalFontStyle": true,
53 "__experimentalTextTransform": true,
54 "__experimentalTextDecoration": true,
55 "__experimentalLetterSpacing": true,
56 "__experimentalDefaultControls": {
57 "fontSize": true
58 }
59 },
60 "interactivity": {
61 "clientNavigation": true
62 },
63 "__experimentalBorder": {
64 "radius": true,
65 "color": true,
66 "width": true,
67 "style": true,
68 "__experimentalDefaultControls": {
69 "radius": true,
70 "color": true,
71 "width": true,
72 "style": true
73 }
74 }
75 },
76 "style": "wp-block-post-author-name"
77 }
78