PluginProbe
Gutenberg / 20.0.1
Gutenberg v20.0.1
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 12.6.0 All 403 releases
gutenberg / build / block-library / blocks / post-author / block.json

block.json in Gutenberg 20.0.1, at build/block-library/blocks/post-author/block.json

86 lines 1.7 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",
5 "title": "Author",
6 "category": "theme",
7 "description": "Display post author details such as name, avatar, and bio.",
8 "textdomain": "default",
9 "attributes": {
10 "textAlign": {
11 "type": "string"
12 },
13 "avatarSize": {
14 "type": "number",
15 "default": 48
16 },
17 "showAvatar": {
18 "type": "boolean",
19 "default": true
20 },
21 "showBio": {
22 "type": "boolean"
23 },
24 "byline": {
25 "type": "string"
26 },
27 "isLink": {
28 "type": "boolean",
29 "default": false,
30 "role": "content"
31 },
32 "linkTarget": {
33 "type": "string",
34 "default": "_self",
35 "role": "content"
36 }
37 },
38 "usesContext": [ "postType", "postId", "queryId" ],
39 "supports": {
40 "html": false,
41 "spacing": {
42 "margin": true,
43 "padding": true
44 },
45 "typography": {
46 "fontSize": true,
47 "lineHeight": true,
48 "__experimentalFontFamily": true,
49 "__experimentalFontWeight": true,
50 "__experimentalFontStyle": true,
51 "__experimentalTextTransform": true,
52 "__experimentalTextDecoration": true,
53 "__experimentalLetterSpacing": true,
54 "__experimentalDefaultControls": {
55 "fontSize": true
56 }
57 },
58 "color": {
59 "gradients": true,
60 "link": true,
61 "__experimentalDuotone": ".wp-block-post-author__avatar img",
62 "__experimentalDefaultControls": {
63 "background": true,
64 "text": true
65 }
66 },
67 "interactivity": {
68 "clientNavigation": true
69 },
70 "__experimentalBorder": {
71 "radius": true,
72 "color": true,
73 "width": true,
74 "style": true,
75 "__experimentalDefaultControls": {
76 "radius": true,
77 "color": true,
78 "width": true,
79 "style": true
80 }
81 }
82 },
83 "editorStyle": "wp-block-post-author-editor",
84 "style": "wp-block-post-author"
85 }
86