| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | 'image_box' => [ |
| 64 | 64 | 'component' => 'ImageBox', |
| 65 | 65 | 'value_path' => 'image_box', |
| 66 | 66 | 'column_1' => [ |
| 67 | - 'padding' => [ | |
| 67 | + 'padding' => [ | |
| 68 | 68 | 'value' => $attributes['column_1']['padding'] ?? [ |
| 69 | 69 | 'top' => '10', |
| 70 | 70 | 'right' => '10', |
| 71 | 71 | 'bottom' => '10', |
| @@ -72,29 +72,25 @@ | ||
| 72 | 72 | 'left' => '50', |
| 73 | 73 | ], |
| 74 | 74 | 'type' => 'style', |
| 75 | 75 | ], |
| 76 | - 'align' => [ | |
| 76 | + 'align' => [ | |
| 77 | 77 | 'value' => $attributes['column_1']['align'] ?? 'center', |
| 78 | 78 | 'type' => 'style', |
| 79 | 79 | ], |
| 80 | - 'image' => [ | |
| 80 | + 'image' => [ | |
| 81 | 81 | 'value' => $attributes['column_1']['image'] ?? $src, |
| 82 | 82 | 'type' => 'content', |
| 83 | 83 | ], |
| 84 | - 'full_width' => [ | |
| 85 | - 'value' => $attributes['column_1']['full_width'] ?? false, | |
| 86 | - 'type' => 'style', | |
| 87 | - ], | |
| 88 | - 'width' => [ | |
| 84 | + 'width' => [ | |
| 89 | 85 | 'value' => $attributes['column_1']['width'] ?? '242', |
| 90 | 86 | 'type' => 'style', |
| 91 | 87 | ], |
| 92 | - 'url' => [ | |
| 88 | + 'url' => [ | |
| 93 | 89 | 'value' => $attributes['column_1']['url'] ?? '#', |
| 94 | 90 | 'type' => 'content', |
| 95 | 91 | ], |
| 96 | - 'alt' => [ | |
| 92 | + 'alt' => [ | |
| 97 | 93 | 'value' => $attributes['column_1']['alt'] ?? '', |
| 98 | 94 | 'type' => 'content', |
| 99 | 95 | ], |
| 100 | 96 | ], |