PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
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 / styled-text-builder / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/styled-text-builder/block.json

177 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 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/styled-text-builder",
5 "title": "Styled Text Builder",
6 "category": "bkbg-content",
7 "icon": "editor-textcolor",
8 "description": "Build a paragraph from mixed inline text segments \u2014 combine highlights, badges, code spans, gradient text, and bold or colored fragments in a single richly-styled sentence.",
9 "keywords": [
10 "text",
11 "styled",
12 "highlight",
13 "badge",
14 "gradient",
15 "inline",
16 "mixed",
17 "markup",
18 "advanced text",
19 "typography"
20 ],
21 "textdomain": "blockenberg",
22 "editorScript": "bkbg-styled-text-builder-editor",
23 "editorStyle": "bkbg-styled-text-builder-style",
24 "style": "bkbg-styled-text-builder-style",
25 "viewScript": "bkbg-styled-text-builder-frontend",
26 "supports": {
27 "html": false,
28 "anchor": true,
29 "className": true,
30 "align": [
31 "wide",
32 "full"
33 ]
34 },
35 "attributes": {
36 "segments": {
37 "type": "array",
38 "default": [
39 {
40 "id": "s1",
41 "text": "Build beautiful ",
42 "preset": "none",
43 "bold": false,
44 "italic": false,
45 "underline": false,
46 "color": "",
47 "bgColor": "",
48 "customSize": 0,
49 "borderRadius": 0,
50 "px": 0,
51 "py": 0
52 },
53 {
54 "id": "s2",
55 "text": "highlighted content",
56 "preset": "highlight-yellow",
57 "bold": false,
58 "italic": false,
59 "underline": false,
60 "color": "",
61 "bgColor": "",
62 "customSize": 0,
63 "borderRadius": 4,
64 "px": 4,
65 "py": 2
66 },
67 {
68 "id": "s3",
69 "text": " with mixed ",
70 "preset": "none",
71 "bold": false,
72 "italic": false,
73 "underline": false,
74 "color": "",
75 "bgColor": "",
76 "customSize": 0,
77 "borderRadius": 0,
78 "px": 0,
79 "py": 0
80 },
81 {
82 "id": "s4",
83 "text": "styles",
84 "preset": "gradient",
85 "bold": true,
86 "italic": false,
87 "underline": false,
88 "color": "#6c3fb5",
89 "bgColor": "",
90 "customSize": 0,
91 "borderRadius": 0,
92 "px": 0,
93 "py": 0
94 },
95 {
96 "id": "s5",
97 "text": " and ",
98 "preset": "none",
99 "bold": false,
100 "italic": false,
101 "underline": false,
102 "color": "",
103 "bgColor": "",
104 "customSize": 0,
105 "borderRadius": 0,
106 "px": 0,
107 "py": 0
108 },
109 {
110 "id": "s6",
111 "text": "badges",
112 "preset": "badge",
113 "bold": false,
114 "italic": false,
115 "underline": false,
116 "color": "#ffffff",
117 "bgColor": "#2563eb",
118 "customSize": 0,
119 "borderRadius": 50,
120 "px": 10,
121 "py": 3
122 },
123 {
124 "id": "s7",
125 "text": " in one paragraph.",
126 "preset": "none",
127 "bold": false,
128 "italic": false,
129 "underline": false,
130 "color": "",
131 "bgColor": "",
132 "customSize": 0,
133 "borderRadius": 0,
134 "px": 0,
135 "py": 0
136 }
137 ]
138 },
139 "fontSize": {
140 "type": "number",
141 "default": 20
142 },
143 "lineHeight": {
144 "type": "number",
145 "default": 170
146 },
147 "textAlign": {
148 "type": "string",
149 "default": "left"
150 },
151 "maxWidth": {
152 "type": "number",
153 "default": 0
154 },
155 "textColor": {
156 "type": "string",
157 "default": "#1e293b"
158 },
159 "containerPadding": {
160 "type": "number",
161 "default": 0
162 },
163 "containerRadius": {
164 "type": "number",
165 "default": 0
166 },
167 "fontWeight": {
168 "type": "string",
169 "default": "400"
170 },
171 "textTypo": {
172 "type": "object",
173 "default": {}
174 }
175 }
176 }
177