| @@ -72,15 +72,8 @@ | ||
| 72 | 72 | 'title' => __( 'Image position', 'yaymail' ), |
| 73 | 73 | 'default_value' => isset( $attributes['align'] ) ? $attributes['align'] : 'center', |
| 74 | 74 | 'type' => 'style', |
| 75 | 75 | ], |
| 76 | - 'full_width' => [ | |
| 77 | - 'value_path' => 'full_width', | |
| 78 | - 'component' => 'Switcher', | |
| 79 | - 'title' => __( 'Full width', 'yaymail' ), | |
| 80 | - 'default_value' => isset( $attributes['full_width'] ) ? $attributes['full_width'] : false, | |
| 81 | - 'type' => 'style', | |
| 82 | - ], | |
| 83 | 76 | 'width' => [ |
| 84 | 77 | 'value_path' => 'width', |
| 85 | 78 | 'component' => 'Dimension', |
| 86 | 79 | 'title' => __( 'Width', 'yaymail' ), |
| @@ -85,15 +78,8 @@ | ||
| 85 | 78 | 'component' => 'Dimension', |
| 86 | 79 | 'title' => __( 'Width', 'yaymail' ), |
| 87 | 80 | 'default_value' => isset( $attributes['width'] ) ? $attributes['width'] : '252', |
| 88 | 81 | 'type' => 'style', |
| 89 | - 'conditions' => [ | |
| 90 | - [ | |
| 91 | - 'comparison' => '!=', | |
| 92 | - 'value' => true, | |
| 93 | - 'attribute' => 'full_width', | |
| 94 | - ], | |
| 95 | - ], | |
| 96 | 82 | ], |
| 97 | 83 | 'url' => [ |
| 98 | 84 | 'value_path' => 'url', |
| 99 | 85 | 'component' => 'TextInput', |