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

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

167 lines 4.5 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/flashcard",
5 "title": "Flashcard",
6 "category": "bkbg-interactive",
7 "icon": "book-alt",
8 "description": "Interactive flashcard deck for studying. Click to flip cards, navigate with arrows or buttons, shuffle deck, mark cards as known, and track progress.",
9 "keywords": [
10 "flashcard",
11 "study",
12 "quiz",
13 "learning",
14 "flip",
15 "education",
16 "memory"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-flashcard-editor",
20 "style": "bkbg-flashcard-style",
21 "viewScript": "bkbg-flashcard-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": "Flashcard Deck"
35 },
36 "subtitle": {
37 "type": "string",
38 "default": "Click a card to reveal the answer"
39 },
40 "showTitle": {
41 "type": "boolean",
42 "default": true
43 },
44 "showSubtitle": {
45 "type": "boolean",
46 "default": true
47 },
48 "cards": {
49 "type": "array",
50 "default": [
51 { "id": "1", "front": "What is the capital of France?", "back": "Paris", "known": false },
52 { "id": "2", "front": "What is 7 × 8?", "back": "56", "known": false },
53 { "id": "3", "front": "Who wrote Romeo and Juliet?", "back": "William Shakespeare", "known": false },
54 { "id": "4", "front": "What is H₂O?", "back": "Water", "known": false },
55 { "id": "5", "front": "What year did WWII end?", "back": "1945", "known": false }
56 ]
57 },
58 "showProgress": {
59 "type": "boolean",
60 "default": true
61 },
62 "showShuffleBtn": {
63 "type": "boolean",
64 "default": true
65 },
66 "showKnownBtn": {
67 "type": "boolean",
68 "default": true
69 },
70 "enableKeyboardShortcuts": {
71 "type": "boolean",
72 "default": true
73 },
74 "showKeyboardHint": {
75 "type": "boolean",
76 "default": true
77 },
78 "cardHeight": {
79 "type": "number",
80 "default": 220
81 },
82 "accentColor": {
83 "type": "string",
84 "default": "#6366f1"
85 },
86 "cardFrontBg": {
87 "type": "string",
88 "default": "#ffffff"
89 },
90 "cardBackBg": {
91 "type": "string",
92 "default": "#4f46e5"
93 },
94 "cardBackColor": {
95 "type": "string",
96 "default": "#ffffff"
97 },
98 "knownColor": {
99 "type": "string",
100 "default": "#22c55e"
101 },
102 "sectionBg": {
103 "type": "string",
104 "default": "#f5f3ff"
105 },
106 "cardBg": {
107 "type": "string",
108 "default": "#ffffff"
109 },
110 "titleColor": {
111 "type": "string",
112 "default": "#3730a3"
113 },
114 "subtitleColor": {
115 "type": "string",
116 "default": "#6b7280"
117 },
118 "labelColor": {
119 "type": "string",
120 "default": "#374151"
121 },
122 "titleFontSize": {
123 "type": "number",
124 "default": 26
125 },
126 "titleFontWeight": {
127 "type": "string",
128 "default": "700"
129 },
130 "titleLineHeight": {
131 "type": "number",
132 "default": 1.2
133 },
134 "subtitleFontSize": {
135 "type": "number",
136 "default": 15
137 },
138 "subtitleFontWeight": {
139 "type": "string",
140 "default": "400"
141 },
142 "subtitleLineHeight": {
143 "type": "number",
144 "default": 1.5
145 },
146 "cardFontSize": {
147 "type": "number",
148 "default": 18
149 },
150 "cardFontWeight": {
151 "type": "string",
152 "default": "500"
153 },
154 "cardLineHeight": {
155 "type": "number",
156 "default": 1.5
157 },
158 "contentMaxWidth": {
159 "type": "number",
160 "default": 660
161 },
162 "typoTitle": { "type": "object", "default": {} },
163 "typoSubtitle": { "type": "object", "default": {} },
164 "typoCard": { "type": "object", "default": {} }
165 }
166 }
167