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 / print-button / block.json

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

145 lines 3.4 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/print-button",
5 "title": "Print / PDF Button",
6 "category": "bkbg-layout",
7 "icon": "printer",
8 "description": "A print button that opens the browser print dialog (Save as PDF included). Supports custom icons via the shared icon picker.",
9 "keywords": [
10 "print",
11 "pdf",
12 "save",
13 "download",
14 "button",
15 "printer"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-print-button-editor",
19 "style": "bkbg-print-button-style",
20 "viewScript": "bkbg-print-button-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "label": {
32 "type": "string",
33 "default": "Print / Save PDF"
34 },
35 "showLabel": {
36 "type": "boolean",
37 "default": true
38 },
39 "showIcon": {
40 "type": "boolean",
41 "default": true
42 },
43 "icon": {
44 "type": "string",
45 "default": "🖨"
46 },
47 "iconType": {
48 "type": "string",
49 "default": "dashicon"
50 },
51 "iconDashicon": {
52 "type": "string",
53 "default": "printer"
54 },
55 "iconImageUrl": {
56 "type": "string",
57 "default": ""
58 },
59 "iconDashiconColor": {
60 "type": "string",
61 "default": ""
62 },
63 "iconPosition": {
64 "type": "string",
65 "default": "left"
66 },
67 "iconSize": {
68 "type": "number",
69 "default": 18
70 },
71 "layout": {
72 "type": "string",
73 "default": "inline"
74 },
75 "position": {
76 "type": "string",
77 "default": "bottom-right"
78 },
79 "offsetX": {
80 "type": "number",
81 "default": 24
82 },
83 "offsetY": {
84 "type": "number",
85 "default": 24
86 },
87 "alignBtn": {
88 "type": "string",
89 "default": "left"
90 },
91 "bgColor": {
92 "type": "string",
93 "default": "#1e293b"
94 },
95 "textColor": {
96 "type": "string",
97 "default": "#ffffff"
98 },
99 "hoverBg": {
100 "type": "string",
101 "default": "#0f172a"
102 },
103 "hoverColor": {
104 "type": "string",
105 "default": "#ffffff"
106 },
107 "borderColor": {
108 "type": "string",
109 "default": "#1e293b"
110 },
111 "borderWidth": {
112 "type": "number",
113 "default": 0
114 },
115 "borderRadius": {
116 "type": "number",
117 "default": 8
118 },
119 "paddingH": {
120 "type": "number",
121 "default": 20
122 },
123 "paddingV": {
124 "type": "number",
125 "default": 12
126 },
127 "shadow": {
128 "type": "boolean",
129 "default": true
130 },
131 "zIndex": {
132 "type": "number",
133 "default": 9990
134 },
135 "ariaLabel": {
136 "type": "string",
137 "default": ""
138 },
139 "typoBtn": {
140 "type": "object",
141 "default": {}
142 }
143 }
144 }
145