PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.4.0
GenerateBlocks v2.4.0
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 / text / block.json
generateblocks / dist / blocks / text Last commit date
block.json 1 week ago index-rtl.css 8 months ago index.asset.php 1 week ago index.css 8 months ago index.js 1 week ago
block.json
97 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/text",
5 "title": "Text",
6 "category": "generateblocks",
7 "description": "A text element where you can choose your own tag name, content, and styles.",
8 "keywords": [
9 "text",
10 "heading",
11 "headline",
12 "paragraph"
13 ],
14 "version": "1.0.0",
15 "textdomain": "generateblocks",
16 "attributes": {
17 "uniqueId": {
18 "type": "string",
19 "default": ""
20 },
21 "tagName": {
22 "type": "string",
23 "default": "",
24 "enum": [
25 "p",
26 "span",
27 "div",
28 "h1",
29 "h2",
30 "h3",
31 "h4",
32 "h5",
33 "h6",
34 "a",
35 "button",
36 "figcaption",
37 "li"
38 ]
39 },
40 "content": {
41 "type": "rich-text",
42 "source": "rich-text",
43 "selector": ".gb-text",
44 "role": "content"
45 },
46 "styles": {
47 "type": "object",
48 "default": {}
49 },
50 "css": {
51 "type": "string",
52 "default": ""
53 },
54 "globalClasses": {
55 "type": "array",
56 "default": []
57 },
58 "htmlAttributes": {
59 "type": "object",
60 "default": {}
61 },
62 "icon": {
63 "type": "string",
64 "source": "html",
65 "selector": ".gb-shape"
66 },
67 "iconLocation": {
68 "type": "string",
69 "default": "before"
70 },
71 "iconOnly": {
72 "type": "boolean",
73 "default": false
74 }
75 },
76 "supports": {
77 "align": false,
78 "className": false,
79 "splitting": true
80 },
81 "usesContext": [
82 "postId",
83 "postType",
84 "generateblocks/query",
85 "generateblocks/queryData",
86 "generateblocks/queryType",
87 "generateblocks/inheritQuery",
88 "generateblocks/queryId",
89 "generateblocks/paginationType",
90 "generateblocks/loopIndex",
91 "generateblocks/loopItem"
92 ],
93 "editorScript": "file:./index.js",
94 "editorStyle": [
95 "file:./index.css"
96 ]
97 }