PluginProbe
Gutenberg / 23.7.2
Gutenberg v23.7.2
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 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / icon / block.json

block.json in Gutenberg 23.7.2, at build/scripts/block-library/icon/block.json

85 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "core/icon",
5 "title": "Icon",
6 "category": "media",
7 "description": "Insert an SVG icon.",
8 "keywords": [ "icon", "svg" ],
9 "textdomain": "default",
10 "attributes": {
11 "icon": {
12 "type": "string",
13 "role": "content"
14 },
15 "flipHorizontal": {
16 "type": "boolean",
17 "default": false
18 },
19 "flipVertical": {
20 "type": "boolean",
21 "default": false
22 },
23 "rotation": {
24 "type": "number",
25 "default": 0
26 }
27 },
28 "supports": {
29 "anchor": true,
30 "ariaLabel": {
31 "__experimentalSkipSerialization": true
32 },
33 "align": [ "left", "center", "right" ],
34 "html": false,
35 "color": {
36 "__experimentalSkipSerialization": true,
37 "__experimentalDefaultControls": {
38 "background": true,
39 "text": true
40 }
41 },
42 "interactivity": {
43 "clientNavigation": true
44 },
45 "__experimentalBorder": {
46 "color": true,
47 "radius": true,
48 "style": true,
49 "width": true,
50 "__experimentalSkipSerialization": true,
51 "__experimentalDefaultControls": {
52 "color": false,
53 "radius": false,
54 "style": false,
55 "width": false
56 }
57 },
58 "spacing": {
59 "padding": true,
60 "margin": true,
61 "__experimentalSkipSerialization": [ "padding" ],
62 "__experimentalDefaultControls": {
63 "margin": false,
64 "padding": false
65 }
66 },
67 "dimensions": {
68 "width": true,
69 "__experimentalSkipSerialization": [ "width" ],
70 "__experimentalDefaultControls": {
71 "width": true
72 }
73 }
74 },
75 "selectors": {
76 "root": ".wp-block-icon svg",
77 "css": ".wp-block-icon",
78 "spacing": {
79 "margin": ".wp-block-icon"
80 }
81 },
82 "style": "wp-block-icon",
83 "editorStyle": "wp-block-icon-editor"
84 }
85