PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / trunk
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites vtrunk
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / build / block / content-box / block.json

block.json in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites trunk, at build/block/content-box/block.json

152 lines 3.0 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": "blockspare/content-box",
5 "title": "Content Box",
6 "category": "blockspare",
7 "description": "Card with text and buttons over a background image.",
8 "attributes": {
9 "className": {
10 "type": "string"
11 },
12 "align": {
13 "type": "string",
14 "default": "center"
15 },
16 "sectionAlignment": {
17 "type": "string",
18 "default": "left"
19 },
20 "sectionDescription": {
21 "type": "string",
22 "default": "Add your description here..."
23 },
24 "showContentImg": {
25 "type": "boolean",
26 "default": true
27 },
28 "imgURL": {
29 "type": "string",
30 "default": false
31 },
32 "imgID": {
33 "type": "number"
34 },
35 "imgAlt": {
36 "type": "string",
37 "source": "attribute",
38 "attribute": "alt",
39 "selector": "img"
40 },
41 "showButton": {
42 "type": "boolean",
43 "default": false
44 },
45 "enableBackgroundColor": {
46 "type": "boolean",
47 "default": true
48 },
49 "backGroundColor": {
50 "type": "string",
51 "default": "#f9f9f9"
52 },
53 "borderRadius": {
54 "type": "number",
55 "default": 0
56 },
57 "titleColor": {
58 "type": "string",
59 "default": "#000"
60 },
61 "descriptionColor": {
62 "type": "string",
63 "default": "#6d6d6d"
64 },
65 "layoutOption": {
66 "type": "boolean",
67 "default": false
68 },
69 "imageShape": {
70 "type": "string",
71 "default": ""
72 },
73 "design": {
74 "type": "string",
75 "default": "style-1"
76 },
77 "headermarginTop": {
78 "type": "number",
79 "default": 0
80 },
81 "headermarginRight": {
82 "type": "number",
83 "default": 0
84 },
85 "headermarginBottom": {
86 "type": "number",
87 "default": 0
88 },
89 "headermarginLeft": {
90 "type": "number",
91 "default": 0
92 },
93 "paddingTop": {
94 "type": "number",
95 "default": 30
96 },
97 "paddingRight": {
98 "type": "number",
99 "default": 30
100 },
101 "paddingBottom": {
102 "type": "number",
103 "default": 30
104 },
105 "paddingLeft": {
106 "type": "number",
107 "default": 30
108 },
109 "descriptionFontSize": {
110 "type": "number",
111 "default": 16
112 },
113 "descriptionFontFamily": {
114 "type": "string",
115 "default": "Default"
116 },
117 "descriptionFontWeight": {
118 "type": "string",
119 "default": ""
120 },
121 "descriptionFontSubset": {
122 "type": "string"
123 },
124 "descriptionFontSizeType": {
125 "type": "string",
126 "default": "px"
127 },
128 "descriptionFontSizeMobile": {
129 "type": "number",
130 "default": 14
131 },
132 "descriptionFontSizeTablet": {
133 "type": "number",
134 "default": 16
135 },
136 "descriptionLoadGoogleFonts": {
137 "type": "boolean",
138 "default": false
139 },
140 "animation": {
141 "type": "string",
142 "default": ""
143 },
144 "blockHoverEffect": {
145 "type": "string",
146 "default": ""
147 }
148 },
149 "editorScript": "file:./index.js",
150 "editorStyle": "file:./index.css",
151 "style": "file:./style-index.css"
152 }