block.json in Gutenify – Visual Site Builder Blocks & Starter Templates trunk, at core/dist/blocks/container/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "gutenify/container", |
| 5 | "category": "gutenify", |
| 6 | "title": "Container", |
| 7 | "version": "2", |
| 8 | "attributes": { |
| 9 | "blockClientId": { |
| 10 | "type": "string", |
| 11 | "default": "" |
| 12 | }, |
| 13 | "blockAdvanceOptions": { |
| 14 | "type": "object", |
| 15 | "default": { |
| 16 | "backgroundColor": "", |
| 17 | "backgroundGradient": "", |
| 18 | "padding": { |
| 19 | "desktop": {} |
| 20 | }, |
| 21 | "shapeDividers": { |
| 22 | "bottom": { |
| 23 | "invert": true |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | }, |
| 28 | "stretchContainer": { |
| 29 | "type": "boolean", |
| 30 | "default": false |
| 31 | }, |
| 32 | "fullWidthStretchContainer": { |
| 33 | "type": "boolean", |
| 34 | "default": false |
| 35 | }, |
| 36 | "maxWidth": { |
| 37 | "type": "string", |
| 38 | "default": "" |
| 39 | } |
| 40 | }, |
| 41 | "supports": { |
| 42 | "anchor": true, |
| 43 | "html": false, |
| 44 | "inserter": false, |
| 45 | "align": [ |
| 46 | "wide", |
| 47 | "full" |
| 48 | ] |
| 49 | }, |
| 50 | "editorScript": [ |
| 51 | "file:./index.js" |
| 52 | ], |
| 53 | "style": [ |
| 54 | "file:./style-index.css" |
| 55 | ], |
| 56 | "viewScript": [ |
| 57 | "file:./view-script.js" |
| 58 | ] |
| 59 | } |