block.json
6 months ago
controller.php
6 months ago
index.asset.php
6 months ago
index.js
6 months ago
view.php
6 months ago
block.json
61 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "surecart/product-review-content", |
| 5 | "title": "Review Content", |
| 6 | "description": "Displays the content of a product review.", |
| 7 | "version": "1.0.0", |
| 8 | "category": "surecart-product-page", |
| 9 | "ancestor": [ |
| 10 | "surecart/product-review-template" |
| 11 | ], |
| 12 | "keywords": [ |
| 13 | "review", |
| 14 | "content", |
| 15 | "details" |
| 16 | ], |
| 17 | "usesContext": [ |
| 18 | "reviewId", |
| 19 | "review" |
| 20 | ], |
| 21 | "example": {}, |
| 22 | "supports": { |
| 23 | "interactivity": true, |
| 24 | "anchor": true, |
| 25 | "color": { |
| 26 | "gradients": true, |
| 27 | "text": true, |
| 28 | "background": false |
| 29 | }, |
| 30 | "typography": { |
| 31 | "fontSize": true, |
| 32 | "lineHeight": true, |
| 33 | "__experimentalFontFamily": true, |
| 34 | "__experimentalFontWeight": true, |
| 35 | "__experimentalFontStyle": true, |
| 36 | "__experimentalTextTransform": true, |
| 37 | "__experimentalTextDecoration": true, |
| 38 | "__experimentalLetterSpacing": true, |
| 39 | "__experimentalDefaultControls": { |
| 40 | "fontSize": true, |
| 41 | "fontAppearance": true, |
| 42 | "textTransform": true |
| 43 | } |
| 44 | }, |
| 45 | "spacing": { |
| 46 | "padding": true, |
| 47 | "margin": true, |
| 48 | "blockGap": { |
| 49 | "__experimentalDefault": "4px" |
| 50 | }, |
| 51 | "__experimentalDefaultControls": { |
| 52 | "padding": true, |
| 53 | "margin": true, |
| 54 | "blockGap": true |
| 55 | } |
| 56 | } |
| 57 | }, |
| 58 | "textdomain": "surecart", |
| 59 | "render": "file:./view.php", |
| 60 | "editorScript": "file:./index.js" |
| 61 | } |