| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace YayMail\Elements; |
| 3 | 3 | |
| 4 | 4 | use YayMail\Abstracts\BaseElement; |
| 5 | +use YayMail\Constants\AttributesData; | |
| 5 | 6 | use YayMail\Utils\SingletonTrait; |
| 6 | 7 | |
| 7 | 8 | /** |
| 8 | 9 | * Column Elements |
| @@ -91,8 +92,15 @@ | ||
| 91 | 92 | 'right' => '0', |
| 92 | 93 | 'bottom' => '15', |
| 93 | 94 | 'left' => '0', |
| 94 | 95 | ], |
| 96 | + 'type' => 'style', | |
| 97 | + ], | |
| 98 | + 'border' => [ | |
| 99 | + 'value_path' => 'border', | |
| 100 | + 'component' => 'Border', | |
| 101 | + 'title' => __( 'Border', 'yaymail' ), | |
| 102 | + 'default_value' => isset( $attributes['border'] ) ? $attributes['border'] : AttributesData::BORDER_DEFAULT, | |
| 95 | 103 | 'type' => 'style', |
| 96 | 104 | ], |
| 97 | 105 | 'border_radius' => [ |
| 98 | 106 | 'value_path' => 'border_radius', |