| @@ -388,9 +388,9 @@ | ||
| 388 | 388 | [ |
| 389 | 389 | 'label' => esc_html__( 'Column Span', 'elementor' ), |
| 390 | 390 | 'type' => Controls_Manager::SELECT, |
| 391 | 391 | 'options' => [ |
| 392 | - '' => ' ' . esc_html__( 'Default', 'elementor' ), | |
| 392 | + '' => ' Default', | |
| 393 | 393 | '1' => '1', |
| 394 | 394 | '2' => '2', |
| 395 | 395 | '3' => '3', |
| 396 | 396 | '4' => '4', |
| @@ -401,9 +401,9 @@ | ||
| 401 | 401 | '9' => '9', |
| 402 | 402 | '10' => '10', |
| 403 | 403 | '11' => '11', |
| 404 | 404 | '12' => '12', |
| 405 | - 'custom' => esc_html__( 'Custom', 'elementor' ), | |
| 405 | + 'custom' => 'Custom', | |
| 406 | 406 | ], |
| 407 | 407 | 'selectors' => [ |
| 408 | 408 | '{{WRAPPER}}' => 'grid-column: span {{VALUE}};', |
| 409 | 409 | ], |
| @@ -432,9 +432,9 @@ | ||
| 432 | 432 | [ |
| 433 | 433 | 'label' => esc_html__( 'Row Span', 'elementor' ), |
| 434 | 434 | 'type' => Controls_Manager::SELECT, |
| 435 | 435 | 'options' => [ |
| 436 | - '' => ' ' . esc_html__( 'Default', 'elementor' ), | |
| 436 | + '' => ' Default', | |
| 437 | 437 | '1' => '1', |
| 438 | 438 | '2' => '2', |
| 439 | 439 | '3' => '3', |
| 440 | 440 | '4' => '4', |
| @@ -445,9 +445,9 @@ | ||
| 445 | 445 | '9' => '9', |
| 446 | 446 | '10' => '10', |
| 447 | 447 | '11' => '11', |
| 448 | 448 | '12' => '12', |
| 449 | - 'custom' => esc_html__( 'Custom', 'elementor' ), | |
| 449 | + 'custom' => 'Custom', | |
| 450 | 450 | ], |
| 451 | 451 | 'selectors' => [ |
| 452 | 452 | '{{WRAPPER}}' => 'grid-row: span {{VALUE}};', |
| 453 | 453 | ], |
| @@ -1124,8 +1124,26 @@ | ||
| 1124 | 1124 | 'selectors' => $this->get_mask_selectors( '-webkit-mask-image: url( {{URL}} );' ), |
| 1125 | 1125 | 'condition' => [ |
| 1126 | 1126 | '_mask_switch!' => '', |
| 1127 | 1127 | '_mask_shape' => 'custom', |
| 1128 | + ], | |
| 1129 | + ] | |
| 1130 | + ); | |
| 1131 | + | |
| 1132 | + $this->add_control( | |
| 1133 | + '_mask_notice', | |
| 1134 | + [ | |
| 1135 | + 'type' => Controls_Manager::HIDDEN, | |
| 1136 | + 'raw' => esc_html__( 'Need More Shapes?', 'elementor' ) . | |
| 1137 | + '<br>' . | |
| 1138 | + sprintf( | |
| 1139 | + '%1$s <a target="_blank" href="https://go.elementor.com/mask-control">%2$s</a>', | |
| 1140 | + esc_html__( 'Explore additional Premium Shape packs and use them in your site.', 'elementor' ), | |
| 1141 | + esc_html__( 'Learn more', 'elementor' ), | |
| 1142 | + ), | |
| 1143 | + 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info', | |
| 1144 | + 'condition' => [ | |
| 1145 | + '_mask_switch!' => '', | |
| 1128 | 1146 | ], |
| 1129 | 1147 | ] |
| 1130 | 1148 | ); |
| 1131 | 1149 | |