-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblock.json
114 lines (114 loc) · 2.09 KB
/
block.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"apiVersion": 2,
"name": "ptqblock/post-types-query",
"title": "Post Types Query Block",
"description": "Display a list of posts based on (custom) post types.",
"category": "widgets",
"textdomain": "PTQBlock",
"supports": {
"html": false,
"align": true
},
"attributes": {
"selectedPostType": {
"type": "string",
"default": "post"
},
"selectedCategories": {
"type": "array"
},
"selectedTags": {
"type": "array"
},
"selectedAuthor": {
"type": "string"
},
"postsToDisplay": {
"type": "number",
"default": 5
},
"order": {
"type": "string",
"default": "desc"
},
"orderBy": {
"type": "string",
"default": "date"
},
"displayPublicationDate": {
"type": "boolean",
"default": false
},
"displayUpdateDate": {
"type": "boolean",
"default": false
},
"displayAuthor": {
"type": "boolean",
"default": false
},
"displayFeaturedImage": {
"type": "boolean",
"default": false
},
"displayExcerpt": {
"type": "boolean",
"default": false
},
"publicationDateLabel": {
"type": "string",
"default": "Published on:"
},
"updateDateLabel": {
"type": "string",
"default": "Updated on:"
},
"authorLabel": {
"type": "string",
"default": "By:"
},
"hidePublicationDateLabel": {
"type": "boolean",
"default": false
},
"hideUpdateDateLabel": {
"type": "boolean",
"default": false
},
"hideAuthorLabel": {
"type": "boolean",
"default": false
},
"featuredImageAlignment": {
"type": "string",
"enum": ["left", "center", "right"]
},
"featuredImageSlug": {
"type": "string",
"default": "thumbnail"
},
"featuredImageHeight": {
"type": "number",
"default": null
},
"featuredImageWidth": {
"type": "number",
"default": null
},
"postsLayout": {
"type": "string",
"default": "list"
},
"displayListMarkers": {
"type": "boolean",
"default": true
},
"gridColumns": {
"type": "number",
"default": 3
}
},
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css"
}