block.json
50 lines
| 1 | { |
| 2 | "name": "kubio/sidebar", |
| 3 | "title": "Sidebar", |
| 4 | "description": "You can create separate sidebars for web pages, blog, and articles, in order to create different user journeys.", |
| 5 | "category": "kubio-template-parts", |
| 6 | "attributes": { |
| 7 | "postId": { |
| 8 | "type": "number" |
| 9 | }, |
| 10 | "slug": { |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "theme": { |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "kubio": { |
| 17 | "type": "object" |
| 18 | }, |
| 19 | "tagName": { |
| 20 | "type": "string", |
| 21 | "default": "div" |
| 22 | } |
| 23 | }, |
| 24 | "supports": { |
| 25 | "kubio": { |
| 26 | "elementsEnum": { |
| 27 | "CONTAINER": "container" |
| 28 | }, |
| 29 | "elementsByName": { |
| 30 | "container": { |
| 31 | "wrapper": true, |
| 32 | "default": true |
| 33 | } |
| 34 | }, |
| 35 | "template": { |
| 36 | "type": "element", |
| 37 | "props": { |
| 38 | "name": "container" |
| 39 | }, |
| 40 | "children": [ |
| 41 | { |
| 42 | "type": "wp:InnerBlocks" |
| 43 | } |
| 44 | ] |
| 45 | } |
| 46 | }, |
| 47 | "__experimentalDisableBlockOverlay": true |
| 48 | } |
| 49 | } |
| 50 |