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
| {
| "$schema": "https://schemas.wp.org/trunk/block.json",
| "apiVersion": 3,
| "name": "jvb/feed",
| "title": "Feed",
| "category": "jvb",
| "icon": "grid-view",
| "description": "Displays a filterable feed of registered content types",
| "keywords": [ "feed", "grid" ],
| "version": "0.9.0",
| "textdomain": "jvb",
| "supports": {
| "html": false,
| "align": ["wide", "full"]
| },
| "attributes": {
| "title": {
| "type": "string",
| "default": "Your Scene"
| },
| "inheritQuery": {
| "type": "boolean",
| "default": false
| },
| "contentTypes": {
| "type": "array",
| "default": ["tattoo", "artwork", "artist"],
| "items": {
| "type": "string"
| }
| },
| "itemsPerPage": {
| "type": "number",
| "default": 36
| },
| "defaultOrder": {
| "type": "string",
| "default": "date_desc"
| }
| },
| "selectors": {
| "root": ".feed-block"
| },
| "styles": [
| { "name": "default", "label": "Default", "isDefault": true },
| { "name": "other", "label": "Other" }
| ],
| "example": {
| "attributes": {
| "message": "This is a notice!"
| }
| },
| "editorScript": "file:./index.js",
| "editorStyle": "file:./index.css",
| "style": "file:./style-index.css",
| "viewScript": "file:./view.js"
| }
|
|