| @@ -1,33 +1,36 @@ | ||
| 1 | 1 | { |
| 2 | - "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | - "apiVersion": 3, | |
| 4 | - "name": "jetpack/recipe", | |
| 5 | - "title": "Recipe (Beta)", | |
| 6 | - "description": "Add images, ingredients and cooking steps to display an easy to read recipe.", | |
| 7 | - "keywords": [], | |
| 8 | - "version": "12.5.0", | |
| 9 | - "textdomain": "jetpack", | |
| 10 | - "category": "widgets", | |
| 11 | - "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M21,5c-1.11-0.35-2.33-0.5-3.5-0.5c-1.95,0-4.05,0.4-5.5,1.5c-1.45-1.1-3.55-1.5-5.5-1.5S2.45,4.9,1,6v14.65 c0,0.25,0.25,0.5,0.5,0.5c0.1,0,0.15-0.05,0.25-0.05C3.1,20.45,5.05,20,6.5,20c1.95,0,4.05,0.4,5.5,1.5c1.35-0.85,3.8-1.5,5.5-1.5 c1.65,0,3.35,0.3,4.75,1.05c0.1,0.05,0.15,0.05,0.25,0.05c0.25,0,0.5-0.25,0.5-0.5V6C22.4,5.55,21.75,5.25,21,5z M21,18.5 c-1.1-0.35-2.3-0.5-3.5-0.5c-1.7,0-4.15,0.65-5.5,1.5V8c1.35-0.85,3.8-1.5,5.5-1.5c1.2,0,2.4,0.15,3.5,0.5V18.5z' /><path d='M17.5,10.5c0.88,0,1.73,0.09,2.5,0.26V9.24C19.21,9.09,18.36,9,17.5,9c-1.7,0-3.24,0.29-4.5,0.83v1.66 C14.13,10.85,15.7,10.5,17.5,10.5z' /><path d='M13,12.49v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26V11.9c-0.79-0.15-1.64-0.24-2.5-0.24 C15.8,11.66,14.26,11.96,13,12.49z' /><path d='M17.5,14.33c-1.7,0-3.24,0.29-4.5,0.83v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26v-1.52 C19.21,14.41,18.36,14.33,17.5,14.33z' /></svg>", | |
| 12 | - "supports": { | |
| 13 | - "align": [ "full", "wide" ], | |
| 14 | - "alignWide": true, | |
| 15 | - "anchor": false, | |
| 16 | - "customClassName": true, | |
| 17 | - "className": true, | |
| 18 | - "html": false, | |
| 19 | - "multiple": true, | |
| 20 | - "reusable": true | |
| 21 | - }, | |
| 22 | - "attributes": { | |
| 23 | - "ingredients": { | |
| 24 | - "type": "array", | |
| 25 | - "default": [] | |
| 26 | - }, | |
| 27 | - "steps": { | |
| 28 | - "type": "array", | |
| 29 | - "default": [] | |
| 30 | - } | |
| 31 | - }, | |
| 32 | - "editorScript": "file:../editor-beta.js" | |
| 33 | -} | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/recipe", | |
| 5 | + "title": "Recipe (Beta)", | |
| 6 | + "description": "Add images, ingredients and cooking steps to display an easy to read recipe.", | |
| 7 | + "keywords": [], | |
| 8 | + "version": "12.5.0", | |
| 9 | + "textdomain": "jetpack", | |
| 10 | + "category": "widgets", | |
| 11 | + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M21,5c-1.11-0.35-2.33-0.5-3.5-0.5c-1.95,0-4.05,0.4-5.5,1.5c-1.45-1.1-3.55-1.5-5.5-1.5S2.45,4.9,1,6v14.65 c0,0.25,0.25,0.5,0.5,0.5c0.1,0,0.15-0.05,0.25-0.05C3.1,20.45,5.05,20,6.5,20c1.95,0,4.05,0.4,5.5,1.5c1.35-0.85,3.8-1.5,5.5-1.5 c1.65,0,3.35,0.3,4.75,1.05c0.1,0.05,0.15,0.05,0.25,0.05c0.25,0,0.5-0.25,0.5-0.5V6C22.4,5.55,21.75,5.25,21,5z M21,18.5 c-1.1-0.35-2.3-0.5-3.5-0.5c-1.7,0-4.15,0.65-5.5,1.5V8c1.35-0.85,3.8-1.5,5.5-1.5c1.2,0,2.4,0.15,3.5,0.5V18.5z' /><path d='M17.5,10.5c0.88,0,1.73,0.09,2.5,0.26V9.24C19.21,9.09,18.36,9,17.5,9c-1.7,0-3.24,0.29-4.5,0.83v1.66 C14.13,10.85,15.7,10.5,17.5,10.5z' /><path d='M13,12.49v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26V11.9c-0.79-0.15-1.64-0.24-2.5-0.24 C15.8,11.66,14.26,11.96,13,12.49z' /><path d='M17.5,14.33c-1.7,0-3.24,0.29-4.5,0.83v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26v-1.52 C19.21,14.41,18.36,14.33,17.5,14.33z' /></svg>", | |
| 12 | + "supports": { | |
| 13 | + "align": [ | |
| 14 | + "full", | |
| 15 | + "wide" | |
| 16 | + ], | |
| 17 | + "alignWide": true, | |
| 18 | + "anchor": false, | |
| 19 | + "customClassName": true, | |
| 20 | + "className": true, | |
| 21 | + "html": false, | |
| 22 | + "multiple": true, | |
| 23 | + "reusable": true | |
| 24 | + }, | |
| 25 | + "attributes": { | |
| 26 | + "ingredients": { | |
| 27 | + "type": "array", | |
| 28 | + "default": [] | |
| 29 | + }, | |
| 30 | + "steps": { | |
| 31 | + "type": "array", | |
| 32 | + "default": [] | |
| 33 | + } | |
| 34 | + }, | |
| 35 | + "editorScript": "jetpack-blocks-editor" | |
| 36 | +} | |