← All changes
|
assets/src/apps/js/blocks/course-elements/course-image/block.json
+50
-50
4.3.8
→
4.4.9
View file →
| @@ -1,50 +1,50 @@ | ||
| 1 | -{ | |
| 2 | - "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | - "apiVersion": 3, | |
| 4 | - "name": "learnpress/course-image", | |
| 5 | - "title": "Course Image", | |
| 6 | - "category": "learnpress-course-elements", | |
| 7 | - "icon": "format-image", | |
| 8 | - "description": "Renders template Image Course PHP templates.", | |
| 9 | - "textdomain": "learnpress", | |
| 10 | - "keywords": [ "image single course", "learnpress" ], | |
| 11 | - "ancestor": [ "learnpress/single-course", "learnpress/course-item-template" ], | |
| 12 | - "usesContext": [ "lpCourseData" ], | |
| 13 | - "attributes": { | |
| 14 | - "isLink": { | |
| 15 | - "type": "boolean", | |
| 16 | - "default": true | |
| 17 | - }, | |
| 18 | - "target": { | |
| 19 | - "type": "boolean", | |
| 20 | - "default": false | |
| 21 | - }, | |
| 22 | - "size": { | |
| 23 | - "type": "string", | |
| 24 | - "default": "custom" | |
| 25 | - }, | |
| 26 | - "customWidth": { | |
| 27 | - "type": "number", | |
| 28 | - "default": 500 | |
| 29 | - }, | |
| 30 | - "customHeight": { | |
| 31 | - "type": "number", | |
| 32 | - "default": 300 | |
| 33 | - } | |
| 34 | - }, | |
| 35 | - "supports": { | |
| 36 | - "multiple": true, | |
| 37 | - "html": false, | |
| 38 | - "shadow": true, | |
| 39 | - "__experimentalBorder": { | |
| 40 | - "color": true, | |
| 41 | - "radius": true, | |
| 42 | - "width": true, | |
| 43 | - "__experimentalDefaultControls": { | |
| 44 | - "width": false, | |
| 45 | - "color": false, | |
| 46 | - "radius": false | |
| 47 | - } | |
| 48 | - } | |
| 49 | - } | |
| 50 | -} | |
| 1 | +{ | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "learnpress/course-image", | |
| 5 | + "title": "Course Image", | |
| 6 | + "category": "learnpress-course-elements", | |
| 7 | + "icon": "format-image", | |
| 8 | + "description": "Renders template Image Course PHP templates.", | |
| 9 | + "textdomain": "learnpress", | |
| 10 | + "keywords": [ "image single course", "learnpress" ], | |
| 11 | + "ancestor": [ "learnpress/single-course", "learnpress/course-item-template" ], | |
| 12 | + "usesContext": [ "lpCourseData" ], | |
| 13 | + "attributes": { | |
| 14 | + "isLink": { | |
| 15 | + "type": "boolean", | |
| 16 | + "default": true | |
| 17 | + }, | |
| 18 | + "target": { | |
| 19 | + "type": "boolean", | |
| 20 | + "default": false | |
| 21 | + }, | |
| 22 | + "size": { | |
| 23 | + "type": "string", | |
| 24 | + "default": "custom" | |
| 25 | + }, | |
| 26 | + "customWidth": { | |
| 27 | + "type": "number", | |
| 28 | + "default": 500 | |
| 29 | + }, | |
| 30 | + "customHeight": { | |
| 31 | + "type": "number", | |
| 32 | + "default": 300 | |
| 33 | + } | |
| 34 | + }, | |
| 35 | + "supports": { | |
| 36 | + "multiple": true, | |
| 37 | + "html": false, | |
| 38 | + "shadow": true, | |
| 39 | + "__experimentalBorder": { | |
| 40 | + "color": true, | |
| 41 | + "radius": true, | |
| 42 | + "width": true, | |
| 43 | + "__experimentalDefaultControls": { | |
| 44 | + "width": false, | |
| 45 | + "color": false, | |
| 46 | + "radius": false | |
| 47 | + } | |
| 48 | + } | |
| 49 | + } | |
| 50 | +} | |