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 / content-warning / block.json

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

148 lines 3.5 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/content-warning",
5 "version": "1.0.0",
6 "title": "Content Warning",
7 "category": "bkbg-content",
8 "description": "Editorial content advisory or sensitivity notice, optionally collapsible.",
9 "keywords": [
10 "warning",
11 "content warning",
12 "cw",
13 "trigger",
14 "spoiler",
15 "advisory",
16 "sensitive"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-content-warning-editor",
20 "style": "bkbg-content-warning-style",
21 "viewScript": "bkbg-content-warning-frontend",
22 "supports": {
23 "html": false,
24 "align": [
25 "wide",
26 "full"
27 ]
28 },
29 "attributes": {
30 "warningType": {
31 "type": "string",
32 "default": "sensitive"
33 },
34 "icon": {
35 "type": "string",
36 "default": "⚠️"
37 },
38 "iconType": {
39 "type": "string",
40 "default": "custom-char"
41 },
42 "iconDashicon": {
43 "type": "string",
44 "default": "warning"
45 },
46 "iconImageUrl": {
47 "type": "string",
48 "default": ""
49 },
50 "showIcon": {
51 "type": "boolean",
52 "default": true
53 },
54 "label": {
55 "type": "string",
56 "default": "Content Warning"
57 },
58 "topics": {
59 "type": "string",
60 "default": ""
61 },
62 "message": {
63 "type": "string",
64 "default": ""
65 },
66 "showMessage": {
67 "type": "boolean",
68 "default": true
69 },
70 "collapsible": {
71 "type": "boolean",
72 "default": false
73 },
74 "buttonLabel": {
75 "type": "string",
76 "default": "I understand — show content"
77 },
78 "style": {
79 "type": "string",
80 "default": "box"
81 },
82 "bgColor": {
83 "type": "string",
84 "default": "#fef2f2"
85 },
86 "borderColor": {
87 "type": "string",
88 "default": "#fca5a5"
89 },
90 "accentColor": {
91 "type": "string",
92 "default": "#dc2626"
93 },
94 "labelColor": {
95 "type": "string",
96 "default": "#7f1d1d"
97 },
98 "textColor": {
99 "type": "string",
100 "default": "#450a0a"
101 },
102 "topicBg": {
103 "type": "string",
104 "default": "#fee2e2"
105 },
106 "topicColor": {
107 "type": "string",
108 "default": "#991b1b"
109 },
110 "btnBg": {
111 "type": "string",
112 "default": "#dc2626"
113 },
114 "btnColor": {
115 "type": "string",
116 "default": "#ffffff"
117 },
118 "borderRadius": {
119 "type": "integer",
120 "default": 8
121 },
122 "paddingTop": {
123 "type": "integer",
124 "default": 0
125 },
126 "paddingBottom": {
127 "type": "integer",
128 "default": 0
129 },
130 "labelFontSize": {
131 "type": "number",
132 "default": 15
133 },
134 "messageFontSize": {
135 "type": "number",
136 "default": 14
137 },
138 "typoLabel": {
139 "type": "object",
140 "default": {}
141 },
142 "typoMessage": {
143 "type": "object",
144 "default": {}
145 }
146 }
147 }
148