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

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

147 lines 2.9 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/alert",
5 "title": "Alert / Notice",
6 "category": "blockenberg",
7 "icon": "warning",
8 "description": "Info, success, warning or error notice block with icon, title and body text. Pure CSS — zero JS.",
9 "keywords": ["alert", "notice", "warning", "info", "error", "success", "message", "tip", "callout"],
10 "textdomain": "blockenberg",
11 "editorScript": "bkbg-alert-editor",
12 "editorStyle": "bkbg-alert-style",
13 "style": "bkbg-alert-style",
14 "viewScript": "bkbg-alert-frontend",
15 "supports": {
16 "html": false,
17 "anchor": true,
18 "className": true,
19 "align": ["wide", "full"]
20 },
21 "attributes": {
22
23 "alertType": {
24 "type": "string",
25 "default": "info"
26 },
27 "useCustomColors": {
28 "type": "boolean",
29 "default": false
30 },
31
32 "customBgColor": {
33 "type": "string",
34 "default": "#eff6ff"
35 },
36 "customBorderColor": {
37 "type": "string",
38 "default": "#3b82f6"
39 },
40 "customIconColor": {
41 "type": "string",
42 "default": "#3b82f6"
43 },
44 "customTitleColor": {
45 "type": "string",
46 "default": "#1e3a5f"
47 },
48 "customTextColor": {
49 "type": "string",
50 "default": "#1e40af"
51 },
52
53 "borderStyle": {
54 "type": "string",
55 "default": "left"
56 },
57 "borderWidth": {
58 "type": "number",
59 "default": 4
60 },
61 "borderRadius": {
62 "type": "number",
63 "default": 8
64 },
65
66 "showIcon": {
67 "type": "boolean",
68 "default": true
69 },
70 "iconStyle": {
71 "type": "string",
72 "default": "auto"
73 },
74 "iconSize": {
75 "type": "number",
76 "default": 22
77 },
78 "iconPosition": {
79 "type": "string",
80 "default": "top"
81 },
82
83 "showTitle": {
84 "type": "boolean",
85 "default": true
86 },
87 "titleText": {
88 "type": "string",
89 "default": "Heads up!"
90 },
91 "titleTag": {
92 "type": "string",
93 "default": "p"
94 },
95 "titleSize": {
96 "type": "number",
97 "default": 15
98 },
99 "titleWeight": {
100 "type": "number",
101 "default": 700
102 },
103
104 "bodyText": {
105 "type": "string",
106 "default": "This is a notice block. You can use it to highlight important information on your page."
107 },
108 "bodySize": {
109 "type": "number",
110 "default": 14
111 },
112 "bodyWeight": {
113 "type": "number",
114 "default": 400
115 },
116 "bodyLH": {
117 "type": "number",
118 "default": 1.6
119 },
120
121 "paddingTop": {
122 "type": "number",
123 "default": 16
124 },
125 "paddingRight": {
126 "type": "number",
127 "default": 20
128 },
129 "paddingBottom": {
130 "type": "number",
131 "default": 16
132 },
133 "paddingLeft": {
134 "type": "number",
135 "default": 20
136 },
137 "gapIconContent": {
138 "type": "number",
139 "default": 14
140 },
141 "gapTitleBody": {
142 "type": "number",
143 "default": 4
144 }
145 }
146 }
147