PluginProbe
Gutenify – Visual Site Builder Blocks & Starter Templates / trunk
Gutenify – Visual Site Builder Blocks & Starter Templates vtrunk
1.9.0 1.8.0 1.7.0 1.6.6 1.6.5 1.6.4 trunk 0.0.1 0.0.2 0.0.3 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 74 releases
gutenify / core / dist / blocks / term-thumbnail / block.json

block.json in Gutenify – Visual Site Builder Blocks & Starter Templates trunk, at core/dist/blocks/term-thumbnail/block.json

124 lines 2.3 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": "gutenify/term-thumbnail",
5 "version": "1",
6 "title": "Term Thumbnail",
7 "category": "gutenify",
8 "description": "Display the current taxonomy term's thumbnail image. Intended for use inside core's Terms Query Loop → Term Template.",
9 "keywords": [
10 "term",
11 "taxonomy",
12 "thumbnail",
13 "image",
14 "category"
15 ],
16 "textdomain": "gutenify",
17 "usesContext": [
18 "termId",
19 "taxonomy"
20 ],
21 "attributes": {
22 "previewTermId": {
23 "type": "integer",
24 "default": 0
25 },
26 "previewTaxonomy": {
27 "type": "string",
28 "default": ""
29 },
30 "imageSize": {
31 "type": "string",
32 "default": "thumbnail"
33 },
34 "aspectRatio": {
35 "type": "string",
36 "default": "1"
37 },
38 "scale": {
39 "type": "string",
40 "default": "cover"
41 },
42 "focalPoint": {
43 "type": "object",
44 "default": {
45 "x": 0.5,
46 "y": 0.5
47 }
48 },
49 "linkToTerm": {
50 "type": "boolean",
51 "default": true
52 },
53 "linkTarget": {
54 "type": "string",
55 "default": "_self"
56 },
57 "rel": {
58 "type": "string",
59 "default": ""
60 },
61 "overlayColor": {
62 "type": "string"
63 },
64 "customOverlayColor": {
65 "type": "string"
66 },
67 "dimRatio": {
68 "type": "number",
69 "default": 0
70 },
71 "gradient": {
72 "type": "string"
73 },
74 "customGradient": {
75 "type": "string"
76 }
77 },
78 "supports": {
79 "align": [
80 "wide",
81 "full"
82 ],
83 "html": false,
84 "color": {
85 "text": true,
86 "background": true,
87 "gradients": true,
88 "__experimentalDefaultControls": {
89 "background": true,
90 "text": true
91 }
92 },
93 "spacing": {
94 "padding": true,
95 "margin": true,
96 "__experimentalDefaultControls": {
97 "padding": true
98 }
99 },
100 "__experimentalBorder": {
101 "color": true,
102 "radius": true,
103 "style": true,
104 "width": true,
105 "__experimentalSkipSerialization": true,
106 "__experimentalDefaultControls": {
107 "color": true,
108 "radius": true,
109 "width": true
110 }
111 },
112 "shadow": true
113 },
114 "editorScript": [
115 "file:./index.js"
116 ],
117 "editorStyle": [
118 "file:./index.css"
119 ],
120 "style": [
121 "file:./style-index.css"
122 ],
123 "render": "file:./render.php"
124 }