PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / trunk
GenerateBlocks vtrunk
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 year ago index-rtl.css 6 months ago index.asset.php 2 weeks ago index.css 6 months ago index.js 2 weeks ago
block.json
96 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 },
45 "styles": {
46 "type": "object",
47 "default": {}
48 },
49 "css": {
50 "type": "string",
51 "default": ""
52 },
53 "globalClasses": {
54 "type": "array",
55 "default": []
56 },
57 "htmlAttributes": {
58 "type": "object",
59 "default": {}
60 },
61 "icon": {
62 "type": "string",
63 "source": "html",
64 "selector": ".gb-shape"
65 },
66 "iconLocation": {
67 "type": "string",
68 "default": "before"
69 },
70 "iconOnly": {
71 "type": "boolean",
72 "default": false
73 }
74 },
75 "supports": {
76 "align": false,
77 "className": false,
78 "splitting": true
79 },
80 "usesContext": [
81 "postId",
82 "postType",
83 "generateblocks/query",
84 "generateblocks/queryData",
85 "generateblocks/queryType",
86 "generateblocks/inheritQuery",
87 "generateblocks/queryId",
88 "generateblocks/paginationType",
89 "generateblocks/loopIndex",
90 "generateblocks/loopItem"
91 ],
92 "editorScript": "file:./index.js",
93 "editorStyle": [
94 "file:./index.css"
95 ]
96 }