| @@ -1,39 +1,162 @@ | ||
| 1 | 1 | { |
| 2 | - "apiVersion": 3, | |
| 3 | - "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 4 | - "name": "blockenberg/column", | |
| 5 | - "title": "Column", | |
| 6 | - "category": "blockenberg", | |
| 7 | - "icon": "align-center", | |
| 8 | - "description": "A column container within a row for content.", | |
| 9 | - "keywords": ["column", "layout", "grid", "cell"], | |
| 10 | - "textdomain": "blockenberg", | |
| 11 | - "editorScript": "bkbg-column-editor", | |
| 12 | - "editorStyle": "bkbg-column-style", | |
| 13 | - "style": "bkbg-column-style", | |
| 14 | - "parent": ["blockenberg/row"], | |
| 15 | - "supports": { | |
| 16 | - "html": false, | |
| 17 | - "anchor": true, | |
| 18 | - "className": true, | |
| 19 | - "reusable": false | |
| 20 | - }, | |
| 21 | - "attributes": { | |
| 22 | - "widths": { | |
| 23 | - "type": "object", | |
| 24 | - "default": { | |
| 25 | - "desktop": 50, | |
| 26 | - "tablet": 50, | |
| 27 | - "mobile": 100 | |
| 28 | - } | |
| 29 | - }, | |
| 30 | - "uid": { | |
| 31 | - "type": "string", | |
| 32 | - "default": "" | |
| 33 | - }, | |
| 34 | - "paddingInner": { | |
| 35 | - "type": "string", | |
| 36 | - "default": "none" | |
| 37 | - } | |
| 38 | - } | |
| 2 | + "apiVersion": 3, | |
| 3 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 4 | + "name": "blockenberg/column", | |
| 5 | + "title": "Column", | |
| 6 | + "category": "bkbg-layout", | |
| 7 | + "icon": "align-center", | |
| 8 | + "description": "A column container within a row for content.", | |
| 9 | + "keywords": [ | |
| 10 | + "column", | |
| 11 | + "layout", | |
| 12 | + "grid", | |
| 13 | + "cell" | |
| 14 | + ], | |
| 15 | + "textdomain": "blockenberg", | |
| 16 | + "editorScript": "bkbg-column-editor", | |
| 17 | + "editorStyle": "bkbg-column-style", | |
| 18 | + "style": "bkbg-column-style", | |
| 19 | + "parent": [ | |
| 20 | + "blockenberg/row" | |
| 21 | + ], | |
| 22 | + "supports": { | |
| 23 | + "html": false, | |
| 24 | + "anchor": true, | |
| 25 | + "className": true, | |
| 26 | + "reusable": false | |
| 27 | + }, | |
| 28 | + "attributes": { | |
| 29 | + "widths": { | |
| 30 | + "type": "object", | |
| 31 | + "default": { | |
| 32 | + "desktop": 50, | |
| 33 | + "tablet": 50, | |
| 34 | + "mobile": 100 | |
| 35 | + } | |
| 36 | + }, | |
| 37 | + "uid": { | |
| 38 | + "type": "string", | |
| 39 | + "default": "" | |
| 40 | + }, | |
| 41 | + "paddingInner": { | |
| 42 | + "type": "string", | |
| 43 | + "default": "none" | |
| 44 | + }, | |
| 45 | + "vAlign": { | |
| 46 | + "type": "string", | |
| 47 | + "default": "top" | |
| 48 | + }, | |
| 49 | + "paddingTop": { | |
| 50 | + "type": "string", | |
| 51 | + "default": "" | |
| 52 | + }, | |
| 53 | + "paddingTopUnit": { | |
| 54 | + "type": "string", | |
| 55 | + "default": "px" | |
| 56 | + }, | |
| 57 | + "paddingTopCustomUnit": { | |
| 58 | + "type": "string", | |
| 59 | + "default": "" | |
| 60 | + }, | |
| 61 | + "paddingRight": { | |
| 62 | + "type": "string", | |
| 63 | + "default": "" | |
| 64 | + }, | |
| 65 | + "paddingRightUnit": { | |
| 66 | + "type": "string", | |
| 67 | + "default": "px" | |
| 68 | + }, | |
| 69 | + "paddingRightCustomUnit": { | |
| 70 | + "type": "string", | |
| 71 | + "default": "" | |
| 72 | + }, | |
| 73 | + "paddingBottom": { | |
| 74 | + "type": "string", | |
| 75 | + "default": "" | |
| 76 | + }, | |
| 77 | + "paddingBottomUnit": { | |
| 78 | + "type": "string", | |
| 79 | + "default": "px" | |
| 80 | + }, | |
| 81 | + "paddingBottomCustomUnit": { | |
| 82 | + "type": "string", | |
| 83 | + "default": "" | |
| 84 | + }, | |
| 85 | + "paddingLeft": { | |
| 86 | + "type": "string", | |
| 87 | + "default": "" | |
| 88 | + }, | |
| 89 | + "paddingLeftUnit": { | |
| 90 | + "type": "string", | |
| 91 | + "default": "px" | |
| 92 | + }, | |
| 93 | + "paddingLeftCustomUnit": { | |
| 94 | + "type": "string", | |
| 95 | + "default": "" | |
| 96 | + }, | |
| 97 | + "marginTop": { | |
| 98 | + "type": "string", | |
| 99 | + "default": "" | |
| 100 | + }, | |
| 101 | + "marginTopUnit": { | |
| 102 | + "type": "string", | |
| 103 | + "default": "px" | |
| 104 | + }, | |
| 105 | + "marginTopCustomUnit": { | |
| 106 | + "type": "string", | |
| 107 | + "default": "" | |
| 108 | + }, | |
| 109 | + "marginRight": { | |
| 110 | + "type": "string", | |
| 111 | + "default": "" | |
| 112 | + }, | |
| 113 | + "marginRightUnit": { | |
| 114 | + "type": "string", | |
| 115 | + "default": "px" | |
| 116 | + }, | |
| 117 | + "marginRightCustomUnit": { | |
| 118 | + "type": "string", | |
| 119 | + "default": "" | |
| 120 | + }, | |
| 121 | + "marginBottom": { | |
| 122 | + "type": "string", | |
| 123 | + "default": "" | |
| 124 | + }, | |
| 125 | + "marginBottomUnit": { | |
| 126 | + "type": "string", | |
| 127 | + "default": "px" | |
| 128 | + }, | |
| 129 | + "marginBottomCustomUnit": { | |
| 130 | + "type": "string", | |
| 131 | + "default": "" | |
| 132 | + }, | |
| 133 | + "marginLeft": { | |
| 134 | + "type": "string", | |
| 135 | + "default": "" | |
| 136 | + }, | |
| 137 | + "marginLeftUnit": { | |
| 138 | + "type": "string", | |
| 139 | + "default": "px" | |
| 140 | + }, | |
| 141 | + "marginLeftCustomUnit": { | |
| 142 | + "type": "string", | |
| 143 | + "default": "" | |
| 144 | + }, | |
| 145 | + "contentFontSize": { | |
| 146 | + "type": "integer", | |
| 147 | + "default": 16 | |
| 148 | + }, | |
| 149 | + "contentFontWeight": { | |
| 150 | + "type": "string", | |
| 151 | + "default": "400" | |
| 152 | + }, | |
| 153 | + "contentLineHeight": { | |
| 154 | + "type": "number", | |
| 155 | + "default": 1.6 | |
| 156 | + }, | |
| 157 | + "typoContent": { | |
| 158 | + "type": "object", | |
| 159 | + "default": {} | |
| 160 | + } | |
| 161 | + } | |
| 39 | 162 | } |