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 / interactive-poll / block.json

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

141 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "blockenberg/interactive-poll",
4 "title": "Interactive Poll",
5 "description": "Clickable voting poll with animated results stored per visitor.",
6 "category": "bkbg-interactive",
7 "icon": "chart-bar",
8 "keywords": [
9 "poll",
10 "vote",
11 "survey",
12 "quiz"
13 ],
14 "textdomain": "blockenberg",
15 "editorScript": "bkbg-interactive-poll-editor",
16 "editorStyle": "bkbg-interactive-poll-style",
17 "style": "bkbg-interactive-poll-style",
18 "viewScript": "bkbg-interactive-poll-frontend",
19 "supports": {
20 "html": false,
21 "align": [
22 "wide",
23 "full"
24 ]
25 },
26 "attributes": {
27 "instanceId": {
28 "type": "string",
29 "default": ""
30 },
31 "question": {
32 "type": "string",
33 "default": "What is your favourite option?"
34 },
35 "options": {
36 "type": "array",
37 "default": [
38 {
39 "text": "Option A",
40 "votes": 0
41 },
42 {
43 "text": "Option B",
44 "votes": 0
45 },
46 {
47 "text": "Option C",
48 "votes": 0
49 }
50 ],
51 "items": {
52 "type": "object",
53 "properties": {
54 "text": {
55 "type": "string"
56 },
57 "votes": {
58 "type": "integer"
59 }
60 }
61 }
62 },
63 "allowRevote": {
64 "type": "boolean",
65 "default": true
66 },
67 "showResultsBefore": {
68 "type": "boolean",
69 "default": false
70 },
71 "totalVotesLabel": {
72 "type": "boolean",
73 "default": true
74 },
75 "barColor": {
76 "type": "string",
77 "default": "#6c3fb5"
78 },
79 "barBg": {
80 "type": "string",
81 "default": "#ede9fe"
82 },
83 "buttonBg": {
84 "type": "string",
85 "default": "#6c3fb5"
86 },
87 "buttonColor": {
88 "type": "string",
89 "default": "#ffffff"
90 },
91 "buttonHoverBg": {
92 "type": "string",
93 "default": "#5830a0"
94 },
95 "borderRadius": {
96 "type": "integer",
97 "default": 10
98 },
99 "animateBars": {
100 "type": "boolean",
101 "default": true
102 },
103 "questionSize": {
104 "type": "integer",
105 "default": 22
106 },
107 "questionTypo": {
108 "type": "object",
109 "default": {}
110 },
111 "questionColor": {
112 "type": "string",
113 "default": ""
114 },
115 "resultTextColor": {
116 "type": "string",
117 "default": ""
118 },
119 "wrapBg": {
120 "type": "string",
121 "default": ""
122 },
123 "wrapBorder": {
124 "type": "string",
125 "default": ""
126 },
127 "wrapPadding": {
128 "type": "integer",
129 "default": 32
130 },
131 "maxWidth": {
132 "type": "integer",
133 "default": 560
134 },
135 "align": {
136 "type": "string",
137 "default": ""
138 }
139 }
140 }
141