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 / link-preview / block.json

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

163 lines 3.9 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/link-preview",
5 "title": "Link Preview",
6 "category": "bkbg-content",
7 "icon": "admin-links",
8 "description": "Manually-configured link preview card (OpenGraph style) with image, favicon, title, description, and domain.",
9 "keywords": [
10 "link",
11 "preview",
12 "card",
13 "opengraph",
14 "og",
15 "url",
16 "unfurl",
17 "embed"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-link-preview-editor",
21 "editorStyle": "bkbg-link-preview-style",
22 "style": "bkbg-link-preview-style",
23 "viewScript": "bkbg-link-preview-frontend",
24 "supports": {
25 "html": false,
26 "anchor": true,
27 "className": true,
28 "align": [
29 "wide"
30 ]
31 },
32 "attributes": {
33 "url": {
34 "type": "string",
35 "default": ""
36 },
37 "siteName": {
38 "type": "string",
39 "default": ""
40 },
41 "domain": {
42 "type": "string",
43 "default": ""
44 },
45 "title": {
46 "type": "string",
47 "default": "An Interesting Article Title"
48 },
49 "description": {
50 "type": "string",
51 "default": "A short excerpt or description of the linked page that gives visitors context about what they'll find there."
52 },
53 "imageUrl": {
54 "type": "string",
55 "default": ""
56 },
57 "imageId": {
58 "type": "number",
59 "default": 0
60 },
61 "imageAlt": {
62 "type": "string",
63 "default": ""
64 },
65 "faviconUrl": {
66 "type": "string",
67 "default": ""
68 },
69 "faviconId": {
70 "type": "number",
71 "default": 0
72 },
73 "cardStyle": {
74 "type": "string",
75 "default": "horizontal"
76 },
77 "showImage": {
78 "type": "boolean",
79 "default": true
80 },
81 "showFavicon": {
82 "type": "boolean",
83 "default": true
84 },
85 "showDomain": {
86 "type": "boolean",
87 "default": true
88 },
89 "showDesc": {
90 "type": "boolean",
91 "default": true
92 },
93 "openNewTab": {
94 "type": "boolean",
95 "default": true
96 },
97 "imageHeight": {
98 "type": "number",
99 "default": 160
100 },
101 "imageWidth": {
102 "type": "number",
103 "default": 220
104 },
105 "borderRadius": {
106 "type": "number",
107 "default": 14
108 },
109 "borderWidth": {
110 "type": "number",
111 "default": 1
112 },
113 "shadow": {
114 "type": "boolean",
115 "default": true
116 },
117 "hoverLift": {
118 "type": "boolean",
119 "default": true
120 },
121 "maxWidth": {
122 "type": "number",
123 "default": 600
124 },
125 "bgColor": {
126 "type": "string",
127 "default": "#ffffff"
128 },
129 "borderColor": {
130 "type": "string",
131 "default": "#e5e7eb"
132 },
133 "titleColor": {
134 "type": "string",
135 "default": "#111827"
136 },
137 "descColor": {
138 "type": "string",
139 "default": "#6b7280"
140 },
141 "domainColor": {
142 "type": "string",
143 "default": "#6c3fb5"
144 },
145 "titleSize": {
146 "type": "number",
147 "default": 16
148 },
149 "descSize": {
150 "type": "number",
151 "default": 13
152 },
153 "titleTypo": {
154 "type": "object",
155 "default": {}
156 },
157 "descTypo": {
158 "type": "object",
159 "default": {}
160 }
161 }
162 }
163