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

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

127 lines 3.0 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/toggle",
5 "title": "Toggle / Read More",
6 "description": "A single expandable panel for 'Read More', spoilers, or collapsible content sections.",
7 "category": "bkbg-content",
8 "icon": "arrow-down",
9 "keywords": [
10 "toggle",
11 "read more",
12 "spoiler",
13 "collapse",
14 "expand",
15 "accordion"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-toggle-editor",
19 "editorStyle": "bkbg-toggle-style",
20 "style": "bkbg-toggle-style",
21 "viewScript": "bkbg-toggle-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": "Click to read more"
35 },
36 "content": {
37 "type": "string",
38 "source": "html",
39 "selector": ".bkbg-tgl-body"
40 },
41 "defaultOpen": {
42 "type": "boolean",
43 "default": false
44 },
45 "titleTag": {
46 "type": "string",
47 "default": "h3"
48 },
49 "iconType": {
50 "type": "string",
51 "default": "chevron"
52 },
53 "iconPosition": {
54 "type": "string",
55 "default": "right"
56 },
57 "layout": {
58 "type": "string",
59 "default": "default"
60 },
61 "titleTypo": {
62 "type": "object",
63 "default": {}
64 },
65 "contentTypo": {
66 "type": "object",
67 "default": {}
68 },
69 "borderRadius": {
70 "type": "number",
71 "default": 8
72 },
73 "padding": {
74 "type": "number",
75 "default": 16
76 },
77 "animationSpeed": {
78 "type": "number",
79 "default": 280
80 },
81 "titleColor": {
82 "type": "string",
83 "default": "#111827"
84 },
85 "titleBg": {
86 "type": "string",
87 "default": "#ffffff"
88 },
89 "titleHoverBg": {
90 "type": "string",
91 "default": "#f9fafb"
92 },
93 "activeTitleBg": {
94 "type": "string",
95 "default": "#eff6ff"
96 },
97 "activeTitleColor": {
98 "type": "string",
99 "default": "#1d4ed8"
100 },
101 "contentColor": {
102 "type": "string",
103 "default": "#374151"
104 },
105 "contentBg": {
106 "type": "string",
107 "default": "#ffffff"
108 },
109 "iconColor": {
110 "type": "string",
111 "default": "#6b7280"
112 },
113 "iconActiveColor": {
114 "type": "string",
115 "default": "#2563eb"
116 },
117 "borderColor": {
118 "type": "string",
119 "default": "#e5e7eb"
120 },
121 "dividerColor": {
122 "type": "string",
123 "default": "#f3f4f6"
124 }
125 }
126 }
127