block.json
1 year ago
index-rtl.css
1 year ago
index.asset.php
1 year ago
index.css
1 year ago
index.js
1 year ago
block.json
54 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "generateblocks/shape", |
| 5 | "title": "Shape", |
| 6 | "category": "generateblocks", |
| 7 | "description": "A custom SVG shape.", |
| 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 | "html": { |
| 22 | "type": "string", |
| 23 | "source": "html", |
| 24 | "selector": ".gb-shape" |
| 25 | }, |
| 26 | "styles": { |
| 27 | "type": "object", |
| 28 | "default": {} |
| 29 | }, |
| 30 | "css": { |
| 31 | "type": "string", |
| 32 | "default": "" |
| 33 | }, |
| 34 | "globalClasses": { |
| 35 | "type": "array", |
| 36 | "default": [] |
| 37 | }, |
| 38 | "htmlAttributes": { |
| 39 | "type": "object", |
| 40 | "default": {} |
| 41 | } |
| 42 | }, |
| 43 | "supports": { |
| 44 | "align": false, |
| 45 | "className": false |
| 46 | }, |
| 47 | "editorScript": "file:./index.js", |
| 48 | "editorStyle": [ |
| 49 | "file:./index.css" |
| 50 | ], |
| 51 | "usesContext": [ |
| 52 | "postId" |
| 53 | ] |
| 54 | } |