PluginProbe
Gutenberg / 13.5.1
Gutenberg v13.5.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 / button / block.json

block.json in Gutenberg 13.5.1, at build/block-library/blocks/button/block.json

101 lines 2.0 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": 2,
4 "name": "core/button",
5 "title": "Button",
6 "category": "design",
7 "parent": [ "core/buttons" ],
8 "description": "Prompt visitors to take action with a button-style link.",
9 "keywords": [ "link" ],
10 "textdomain": "default",
11 "attributes": {
12 "url": {
13 "type": "string",
14 "source": "attribute",
15 "selector": "a",
16 "attribute": "href"
17 },
18 "title": {
19 "type": "string",
20 "source": "attribute",
21 "selector": "a",
22 "attribute": "title"
23 },
24 "text": {
25 "type": "string",
26 "source": "html",
27 "selector": "a"
28 },
29 "linkTarget": {
30 "type": "string",
31 "source": "attribute",
32 "selector": "a",
33 "attribute": "target"
34 },
35 "rel": {
36 "type": "string",
37 "source": "attribute",
38 "selector": "a",
39 "attribute": "rel"
40 },
41 "placeholder": {
42 "type": "string"
43 },
44 "backgroundColor": {
45 "type": "string"
46 },
47 "textColor": {
48 "type": "string"
49 },
50 "gradient": {
51 "type": "string"
52 },
53 "width": {
54 "type": "number"
55 }
56 },
57 "supports": {
58 "anchor": true,
59 "align": true,
60 "alignWide": false,
61 "color": {
62 "__experimentalSkipSerialization": true,
63 "gradients": true,
64 "__experimentalDefaultControls": {
65 "background": true,
66 "text": true
67 }
68 },
69 "typography": {
70 "fontSize": true,
71 "__experimentalFontFamily": true,
72 "__experimentalTextTransform": true,
73 "__experimentalDefaultControls": {
74 "fontSize": true
75 }
76 },
77 "reusable": false,
78 "spacing": {
79 "__experimentalSkipSerialization": true,
80 "padding": [ "horizontal", "vertical" ],
81 "__experimentalDefaultControls": {
82 "padding": true
83 }
84 },
85 "__experimentalBorder": {
86 "radius": true,
87 "__experimentalSkipSerialization": true,
88 "__experimentalDefaultControls": {
89 "radius": true
90 }
91 },
92 "__experimentalSelector": ".wp-block-button__link"
93 },
94 "styles": [
95 { "name": "fill", "label": "Fill", "isDefault": true },
96 { "name": "outline", "label": "Outline" }
97 ],
98 "editorStyle": "wp-block-button-editor",
99 "style": "wp-block-button"
100 }
101