PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / definition-block / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/definition-block/block.json

205 lines 4.8 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": "blockenberg/definition-block",
5 "title": "Definition Block",
6 "description": "Dictionary-style term definition with pronunciation, part of speech, examples and synonyms.",
7 "category": "bkbg-content",
8 "icon": "book-alt",
9 "keywords": [
10 "definition",
11 "dictionary",
12 "glossary",
13 "term",
14 "word",
15 "meaning"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-definition-block-editor",
19 "style": "bkbg-definition-block-style",
20 "viewScript": "bkbg-definition-block-frontend",
21 "supports": {
22 "html": false,
23 "align": [
24 "wide",
25 "full"
26 ]
27 },
28 "attributes": {
29 "term": {
30 "type": "string",
31 "default": "Term"
32 },
33 "pronunciation": {
34 "type": "string",
35 "default": ""
36 },
37 "showPronunciation": {
38 "type": "boolean",
39 "default": true
40 },
41 "partOfSpeech": {
42 "type": "string",
43 "default": "noun"
44 },
45 "showPartOfSpeech": {
46 "type": "boolean",
47 "default": true
48 },
49 "shortDef": {
50 "type": "string",
51 "default": ""
52 },
53 "longDef": {
54 "type": "string",
55 "default": ""
56 },
57 "showLongDef": {
58 "type": "boolean",
59 "default": true
60 },
61 "examples": {
62 "type": "array",
63 "default": [
64 ""
65 ]
66 },
67 "showExamples": {
68 "type": "boolean",
69 "default": true
70 },
71 "synonyms": {
72 "type": "string",
73 "default": ""
74 },
75 "showSynonyms": {
76 "type": "boolean",
77 "default": true
78 },
79 "antonyms": {
80 "type": "string",
81 "default": ""
82 },
83 "showAntonyms": {
84 "type": "boolean",
85 "default": false
86 },
87 "etymology": {
88 "type": "string",
89 "default": ""
90 },
91 "showEtymology": {
92 "type": "boolean",
93 "default": false
94 },
95 "sourceLabel": {
96 "type": "string",
97 "default": ""
98 },
99 "sourceUrl": {
100 "type": "string",
101 "default": ""
102 },
103 "style": {
104 "type": "string",
105 "default": "card"
106 },
107 "bgColor": {
108 "type": "string",
109 "default": "#ffffff"
110 },
111 "borderColor": {
112 "type": "string",
113 "default": "#e2e8f0"
114 },
115 "accentColor": {
116 "type": "string",
117 "default": "#7c3aed"
118 },
119 "termColor": {
120 "type": "string",
121 "default": "#0f172a"
122 },
123 "pronunciationColor": {
124 "type": "string",
125 "default": "#7c3aed"
126 },
127 "posColor": {
128 "type": "string",
129 "default": "#7c3aed"
130 },
131 "posBg": {
132 "type": "string",
133 "default": "#f5f3ff"
134 },
135 "shortDefColor": {
136 "type": "string",
137 "default": "#1e293b"
138 },
139 "longDefColor": {
140 "type": "string",
141 "default": "#475569"
142 },
143 "exampleColor": {
144 "type": "string",
145 "default": "#475569"
146 },
147 "labelColor": {
148 "type": "string",
149 "default": "#94a3b8"
150 },
151 "synonymColor": {
152 "type": "string",
153 "default": "#7c3aed"
154 },
155 "borderRadius": {
156 "type": "number",
157 "default": 10
158 },
159 "paddingTop": {
160 "type": "number",
161 "default": 0
162 },
163 "paddingBottom": {
164 "type": "number",
165 "default": 0
166 },
167 "termFontSize": {
168 "type": "number",
169 "default": 24
170 },
171 "shortDefFontSize": {
172 "type": "number",
173 "default": 16
174 },
175 "longDefFontSize": {
176 "type": "number",
177 "default": 14
178 },
179 "exampleFontSize": {
180 "type": "number",
181 "default": 13
182 },
183 "etymologyFontSize": {
184 "type": "number",
185 "default": 13
186 },
187 "tagFontSize": {
188 "type": "number",
189 "default": 12
190 },
191 "typoTerm": {
192 "type": "object",
193 "default": {}
194 },
195 "typoShortDef": {
196 "type": "object",
197 "default": {}
198 },
199 "typoLongDef": {
200 "type": "object",
201 "default": {}
202 }
203 }
204 }
205