PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.4.0
GenerateBlocks v2.4.0
2.4.1 2.4.0 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / dist / blocks / media / block.json
generateblocks / dist / blocks / media Last commit date
block.json 3 weeks ago index-rtl.css 2 months ago index.asset.php 3 weeks ago index.css 2 months ago index.js 3 weeks ago
block.json
66 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/media",
5 "title": "Image",
6 "category": "generateblocks",
7 "description": "A self-closing media element.",
8 "keywords": [
9 "image",
10 "media",
11 "img"
12 ],
13 "version": "1.0.0",
14 "textdomain": "generateblocks",
15 "attributes": {
16 "uniqueId": {
17 "type": "string",
18 "default": ""
19 },
20 "tagName": {
21 "type": "string",
22 "default": "",
23 "enum": [
24 "img"
25 ]
26 },
27 "styles": {
28 "type": "object",
29 "default": {}
30 },
31 "css": {
32 "type": "string",
33 "default": ""
34 },
35 "globalClasses": {
36 "type": "array",
37 "default": []
38 },
39 "htmlAttributes": {
40 "type": "object",
41 "default": {}
42 },
43 "mediaId": {
44 "type": "number",
45 "default": 0,
46 "role": "content"
47 },
48 "linkHtmlAttributes": {
49 "type": "object",
50 "default": {}
51 }
52 },
53 "supports": {
54 "align": false,
55 "className": false
56 },
57 "editorScript": "file:./index.js",
58 "editorStyle": [
59 "file:./index.css"
60 ],
61 "usesContext": [
62 "postId",
63 "generateblocks/loopItem",
64 "generateblocks/loopIndex"
65 ]
66 }