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 / avatar / block.json

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

64 lines 1.2 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/avatar",
5 "title": "Avatar",
6 "category": "theme",
7 "description": "Add a user’s avatar.",
8 "textdomain": "default",
9 "attributes": {
10 "userId": {
11 "type": "number"
12 },
13 "size": {
14 "type": "number",
15 "default": 96
16 },
17 "isLink": {
18 "type": "boolean",
19 "default": false
20 },
21 "linkTarget": {
22 "type": "string",
23 "default": "_self"
24 }
25 },
26 "usesContext": [ "postType", "postId", "commentId" ],
27 "supports": {
28 "html": false,
29 "align": true,
30 "alignWide": false,
31 "spacing": {
32 "margin": true,
33 "padding": true,
34 "__experimentalDefaultControls": {
35 "margin": false,
36 "padding": false
37 }
38 },
39 "__experimentalBorder": {
40 "__experimentalSkipSerialization": true,
41 "radius": true,
42 "width": true,
43 "color": true,
44 "style": true,
45 "__experimentalDefaultControls": {
46 "radius": true
47 }
48 },
49 "color": {
50 "text": false,
51 "background": false,
52 "__experimentalDuotone": "img"
53 },
54 "interactivity": {
55 "clientNavigation": true
56 }
57 },
58 "selectors": {
59 "border": ".wp-block-avatar img"
60 },
61 "editorStyle": "wp-block-avatar-editor",
62 "style": "wp-block-avatar"
63 }
64