PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / knowledge-check / block.json

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

229 lines 5.8 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": "blockenberg/knowledge-check",
5 "title": "Knowledge Check",
6 "description": "Quick quiz question with instant reveal — great for educational content, articles, and explainers.",
7 "category": "bkbg-interactive",
8 "icon": "editor-help",
9 "keywords": [
10 "quiz",
11 "question",
12 "knowledge",
13 "check",
14 "answer",
15 "learn",
16 "test",
17 "multiple choice"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-knowledge-check-editor",
21 "editorStyle": "bkbg-knowledge-check-style",
22 "style": "bkbg-knowledge-check-style",
23 "viewScript": "bkbg-knowledge-check-frontend",
24 "supports": {
25 "html": false,
26 "anchor": true,
27 "className": true,
28 "align": [
29 "wide",
30 "full"
31 ]
32 },
33 "attributes": {
34 "questionType": {
35 "type": "string",
36 "default": "multiple"
37 },
38 "question": {
39 "type": "string",
40 "default": "Which HTTP status code means \"Not Found\"?"
41 },
42 "options": {
43 "type": "array",
44 "default": [
45 {
46 "text": "200 OK",
47 "correct": false
48 },
49 {
50 "text": "301 Moved Permanently",
51 "correct": false
52 },
53 {
54 "text": "404 Not Found",
55 "correct": true
56 },
57 {
58 "text": "500 Internal Server Error",
59 "correct": false
60 }
61 ]
62 },
63 "explanation": {
64 "type": "string",
65 "default": "The 404 status code is returned by the server when the requested resource cannot be found. It's one of the most recognizable HTTP error codes."
66 },
67 "showExplanation": {
68 "type": "boolean",
69 "default": true
70 },
71 "revealLabel": {
72 "type": "string",
73 "default": "Reveal Answer"
74 },
75 "correctLabel": {
76 "type": "string",
77 "default": "✓ Correct!"
78 },
79 "incorrectLabel": {
80 "type": "string",
81 "default": "✗ Incorrect"
82 },
83 "allowRetry": {
84 "type": "boolean",
85 "default": true
86 },
87 "retryLabel": {
88 "type": "string",
89 "default": "Try Again"
90 },
91 "shuffleOptions": {
92 "type": "boolean",
93 "default": false
94 },
95 "showIcon": {
96 "type": "boolean",
97 "default": true
98 },
99 "icon": {
100 "type": "string",
101 "default": "💡"
102 },
103 "difficulty": {
104 "type": "string",
105 "default": ""
106 },
107 "topic": {
108 "type": "string",
109 "default": ""
110 },
111 "style": {
112 "type": "string",
113 "default": "card"
114 },
115 "borderRadius": {
116 "type": "number",
117 "default": 12
118 },
119 "bgColor": {
120 "type": "string",
121 "default": "#f8fafc"
122 },
123 "borderColor": {
124 "type": "string",
125 "default": "#e2e8f0"
126 },
127 "questionColor": {
128 "type": "string",
129 "default": "#0f172a"
130 },
131 "optionBg": {
132 "type": "string",
133 "default": "#ffffff"
134 },
135 "optionColor": {
136 "type": "string",
137 "default": "#334155"
138 },
139 "optionBorderColor": {
140 "type": "string",
141 "default": "#cbd5e1"
142 },
143 "correctBg": {
144 "type": "string",
145 "default": "#dcfce7"
146 },
147 "correctColor": {
148 "type": "string",
149 "default": "#15803d"
150 },
151 "incorrectBg": {
152 "type": "string",
153 "default": "#fee2e2"
154 },
155 "incorrectColor": {
156 "type": "string",
157 "default": "#b91c1c"
158 },
159 "accentColor": {
160 "type": "string",
161 "default": "#6366f1"
162 },
163 "explanationBg": {
164 "type": "string",
165 "default": "#eff6ff"
166 },
167 "explanationColor": {
168 "type": "string",
169 "default": "#1e40af"
170 },
171 "revealBg": {
172 "type": "string",
173 "default": "#6366f1"
174 },
175 "revealColor": {
176 "type": "string",
177 "default": "#ffffff"
178 },
179 "questionFontSize": {
180 "type": "number",
181 "default": 18
182 },
183 "questionFontWeight": {
184 "type": "number",
185 "default": 700
186 },
187 "questionLineHeight": {
188 "type": "number",
189 "default": 1.3
190 },
191 "optionFontSize": {
192 "type": "number",
193 "default": 15
194 },
195 "optionFontWeight": {
196 "type": "number",
197 "default": 400
198 },
199 "optionLineHeight": {
200 "type": "number",
201 "default": 1.5
202 },
203 "resultFontSize": {
204 "type": "number",
205 "default": 16
206 },
207 "resultFontWeight": {
208 "type": "number",
209 "default": 600
210 },
211 "resultLineHeight": {
212 "type": "number",
213 "default": 1.4
214 },
215 "questionTypo": {
216 "type": "object",
217 "default": {}
218 },
219 "optionTypo": {
220 "type": "object",
221 "default": {}
222 },
223 "resultTypo": {
224 "type": "object",
225 "default": {}
226 }
227 }
228 }
229