block.json
55 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/child-author-gallery", |
| 5 | "title": "Photo Gallery (Child Author)", |
| 6 | "category": "author-website-templates", |
| 7 | "icon": "format-gallery", |
| 8 | "description": "Photo gallery grid with bulk upload and playful hover effects", |
| 9 | "keywords": [ |
| 10 | "gallery", |
| 11 | "photos", |
| 12 | "images", |
| 13 | "grid", |
| 14 | "child-author" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "attributes": { |
| 19 | "align": { |
| 20 | "type": "string", |
| 21 | "default": "full" |
| 22 | }, |
| 23 | "heading": { |
| 24 | "type": "string", |
| 25 | "default": "My Adventures" |
| 26 | }, |
| 27 | "images": { |
| 28 | "type": "array", |
| 29 | "default": [] |
| 30 | }, |
| 31 | "columns": { |
| 32 | "type": "number", |
| 33 | "default": 4 |
| 34 | }, |
| 35 | "sectionBgColor": { |
| 36 | "type": "string", |
| 37 | "default": "" |
| 38 | }, |
| 39 | "headingColor": { |
| 40 | "type": "string", |
| 41 | "default": "" |
| 42 | }, |
| 43 | "blockId": { |
| 44 | "type": "string", |
| 45 | "default": "" |
| 46 | } |
| 47 | }, |
| 48 | "supports": { |
| 49 | "html": false, |
| 50 | "align": [ |
| 51 | "full" |
| 52 | ] |
| 53 | }, |
| 54 | "style": "file:./index.css" |
| 55 | } |