PluginProbe
Elementor Website Builder – more than just a page builder / 3.30.3
Elementor Website Builder – more than just a page builder v3.30.3
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/widgets/common-base.php +25 -6 4.1.23.30.3 View file →
@@ -275,9 +275,10 @@
275 275 'image' => static::MASK_SELECTOR_IMG,
276 276 ];
277 277
278 278 return [
279 - $mask_selectors['default'] . ', ' . $mask_selectors['image'] => $rules,
279 + $mask_selectors['default'] => $rules,
280 + $mask_selectors['image'] => $rules,
280 281 ];
281 282 }
282 283
283 284 /**
@@ -388,9 +389,9 @@
388 389 [
389 390 'label' => esc_html__( 'Column Span', 'elementor' ),
390 391 'type' => Controls_Manager::SELECT,
391 392 'options' => [
392 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
393 + '' => ' Default',
393 394 '1' => '1',
394 395 '2' => '2',
395 396 '3' => '3',
396 397 '4' => '4',
@@ -401,9 +402,9 @@
401 402 '9' => '9',
402 403 '10' => '10',
403 404 '11' => '11',
404 405 '12' => '12',
405 - 'custom' => esc_html__( 'Custom', 'elementor' ),
406 + 'custom' => 'Custom',
406 407 ],
407 408 'selectors' => [
408 409 '{{WRAPPER}}' => 'grid-column: span {{VALUE}};',
409 410 ],
@@ -432,9 +433,9 @@
432 433 [
433 434 'label' => esc_html__( 'Row Span', 'elementor' ),
434 435 'type' => Controls_Manager::SELECT,
435 436 'options' => [
436 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
437 + '' => ' Default',
437 438 '1' => '1',
438 439 '2' => '2',
439 440 '3' => '3',
440 441 '4' => '4',
@@ -445,9 +446,9 @@
445 446 '9' => '9',
446 447 '10' => '10',
447 448 '11' => '11',
448 449 '12' => '12',
449 - 'custom' => esc_html__( 'Custom', 'elementor' ),
450 + 'custom' => 'Custom',
450 451 ],
451 452 'selectors' => [
452 453 '{{WRAPPER}}' => 'grid-row: span {{VALUE}};',
453 454 ],
@@ -1109,9 +1110,9 @@
1109 1110 ],
1110 1111 ]
1111 1112 );
1112 1113
1113 - $this->add_responsive_control(
1114 + $this->add_control(
1114 1115 '_mask_image',
1115 1116 [
1116 1117 'label' => esc_html__( 'Image', 'elementor' ),
1117 1118 'type' => Controls_Manager::MEDIA,
@@ -1124,8 +1125,26 @@
1124 1125 'selectors' => $this->get_mask_selectors( '-webkit-mask-image: url( {{URL}} );' ),
1125 1126 'condition' => [
1126 1127 '_mask_switch!' => '',
1127 1128 '_mask_shape' => 'custom',
1129 + ],
1130 + ]
1131 + );
1132 +
1133 + $this->add_control(
1134 + '_mask_notice',
1135 + [
1136 + 'type' => Controls_Manager::HIDDEN,
1137 + 'raw' => esc_html__( 'Need More Shapes?', 'elementor' ) .
1138 + '<br>' .
1139 + sprintf(
1140 + '%1$s <a target="_blank" href="https://go.elementor.com/mask-control">%2$s</a>',
1141 + esc_html__( 'Explore additional Premium Shape packs and use them in your site.', 'elementor' ),
1142 + esc_html__( 'Learn more', 'elementor' ),
1143 + ),
1144 + 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
1145 + 'condition' => [
1146 + '_mask_switch!' => '',
1128 1147 ],
1129 1148 ]
1130 1149 );
1131 1150