Line | |
---|
1 | { |
---|
2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
---|
3 | "apiVersion": 1, |
---|
4 | "name": "jetpack/goodreads", |
---|
5 | "title": "Goodreads", |
---|
6 | "description": "Features books from the shelves of your Goodreads account.", |
---|
7 | "keywords": [ |
---|
8 | "book", |
---|
9 | "read", |
---|
10 | "author" |
---|
11 | ], |
---|
12 | "version": "1.0", |
---|
13 | "textdomain": "jetpack", |
---|
14 | "category": "embed", |
---|
15 | "icon": "<svg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' focusable='false'><path d='M19.525 15.977V.49h-2.059v2.906h-.064c-.211-.455-.481-.891-.842-1.307-.36-.412-.767-.777-1.232-1.094-.466-.314-.962-.561-1.519-.736C13.256.09 12.669 0 12.038 0c-1.21 0-2.3.225-3.246.67-.947.447-1.743 1.057-2.385 1.83-.642.773-1.133 1.676-1.47 2.711-.336 1.037-.506 2.129-.506 3.283 0 1.199.141 2.326.425 3.382.286 1.057.737 1.976 1.368 2.762.631.78 1.412 1.397 2.375 1.833.961.436 2.119.661 3.471.661 1.248 0 2.33-.315 3.262-.946s1.638-1.473 2.119-2.525h.061v2.284c0 2.044-.421 3.607-1.264 4.705-.84 1.081-2.224 1.638-4.146 1.638-.572 0-1.128-.061-1.669-.181-.542-.12-1.036-.315-1.487-.57-.437-.271-.827-.601-1.143-1.038-.316-.435-.526-.961-.632-1.593H5.064c.067.887.315 1.654.737 2.3.424.646.961 1.172 1.602 1.593.641.406 1.367.706 2.172.902.811.194 1.639.3 2.494.3 1.383 0 2.541-.195 3.486-.555.947-.376 1.714-.902 2.301-1.608.601-.708 1.021-1.549 1.293-2.556.27-1.007.42-2.134.42-3.367l-.044.062zm-7.484-.557c-.955 0-1.784-.189-2.479-.571-.697-.38-1.277-.882-1.732-1.503-.467-.621-.797-1.332-1.022-2.139s-.332-1.633-.332-2.484c0-.871.105-1.725.301-2.563.21-.84.54-1.587.992-2.24.451-.652 1.037-1.182 1.728-1.584s1.533-.605 2.51-.605 1.803.209 2.495.621c.676.415 1.247.959 1.683 1.634.436.677.751 1.429.947 2.255.195.826.285 1.656.285 2.482 0 .852-.12 1.678-.345 2.484-.226.807-.572 1.518-1.038 2.139-.465.621-1.021 1.123-1.698 1.503-.676.382-1.458.571-2.359.571h.064z'></path></svg>", |
---|
16 | "supports": { |
---|
17 | "html": false, |
---|
18 | "align": true |
---|
19 | }, |
---|
20 | "attributes": { |
---|
21 | "bookNumber": { |
---|
22 | "type": "string", |
---|
23 | "default": "5" |
---|
24 | }, |
---|
25 | "class": { |
---|
26 | "type": "string" |
---|
27 | }, |
---|
28 | "customTitle": { |
---|
29 | "type": "string", |
---|
30 | "default": "My Bookshelf" |
---|
31 | }, |
---|
32 | "goodreadsId": { |
---|
33 | "type": "number" |
---|
34 | }, |
---|
35 | "id": { |
---|
36 | "type": "string" |
---|
37 | }, |
---|
38 | "link": { |
---|
39 | "type": "string" |
---|
40 | }, |
---|
41 | "orderOption": { |
---|
42 | "type": "string", |
---|
43 | "default": "d" |
---|
44 | }, |
---|
45 | "shelfOption": { |
---|
46 | "type": "string", |
---|
47 | "default": "read" |
---|
48 | }, |
---|
49 | "showAuthor": { |
---|
50 | "type": "boolean", |
---|
51 | "default": true |
---|
52 | }, |
---|
53 | "showCover": { |
---|
54 | "type": "boolean", |
---|
55 | "default": true |
---|
56 | }, |
---|
57 | "showRating": { |
---|
58 | "type": "boolean", |
---|
59 | "default": true |
---|
60 | }, |
---|
61 | "showReview": { |
---|
62 | "type": "boolean", |
---|
63 | "default": false |
---|
64 | }, |
---|
65 | "showTags": { |
---|
66 | "type": "boolean", |
---|
67 | "default": false |
---|
68 | }, |
---|
69 | "showTitle": { |
---|
70 | "type": "boolean", |
---|
71 | "default": true |
---|
72 | }, |
---|
73 | "sortOption": { |
---|
74 | "type": "string", |
---|
75 | "default": "date_added" |
---|
76 | }, |
---|
77 | "style": { |
---|
78 | "type": "string", |
---|
79 | "default": "default" |
---|
80 | }, |
---|
81 | "userInput": { |
---|
82 | "type": "string" |
---|
83 | }, |
---|
84 | "widgetId": { |
---|
85 | "type": "number" |
---|
86 | } |
---|
87 | }, |
---|
88 | "example": { |
---|
89 | "attributes": { |
---|
90 | "goodreadsId": 1176283 |
---|
91 | } |
---|
92 | }, |
---|
93 | "editorScript": "jetpack-blocks-editor" |
---|
94 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.