← All changes
|
modules/atomic-widgets/elements/atomic-divider/atomic-divider.php
+3
-8
4.2.0-beta2
→
3.32.3
View file →
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Elementor\Modules\AtomicWidgets\Elements\Atomic_Divider; |
| 4 | 4 | |
| 5 | -use Elementor\Modules\AtomicWidgets\Elements\Base\Atomic_Widget_Base; | |
| 6 | -use Elementor\Modules\AtomicWidgets\Elements\Base\Has_Template; | |
| 5 | +use Elementor\Modules\AtomicWidgets\Elements\Atomic_Widget_Base; | |
| 6 | +use Elementor\Modules\AtomicWidgets\Elements\Has_Template; | |
| 7 | 7 | use Elementor\Modules\AtomicWidgets\PropTypes\Background_Prop_Type; |
| 8 | 8 | use Elementor\Modules\AtomicWidgets\PropTypes\Attributes_Prop_Type; |
| 9 | 9 | use Elementor\Modules\AtomicWidgets\PropTypes\Classes_Prop_Type; |
| 10 | 10 | use Elementor\Modules\AtomicWidgets\PropTypes\Color_Prop_Type; |
| @@ -12,9 +12,8 @@ | ||
| 12 | 12 | use Elementor\Modules\AtomicWidgets\Styles\Style_Definition; |
| 13 | 13 | use Elementor\Modules\AtomicWidgets\Styles\Style_Variant; |
| 14 | 14 | use Elementor\Modules\AtomicWidgets\Controls\Section; |
| 15 | 15 | use Elementor\Modules\AtomicWidgets\Controls\Types\Text_Control; |
| 16 | -use Elementor\Modules\Components\PropTypes\Overridable_Prop_Type; | |
| 17 | 16 | |
| 18 | 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 19 | 18 | exit; |
| 20 | 19 | } |
| @@ -50,9 +49,9 @@ | ||
| 50 | 49 | return [ |
| 51 | 50 | 'classes' => Classes_Prop_Type::make() |
| 52 | 51 | ->default( [] ), |
| 53 | 52 | |
| 54 | - 'attributes' => Attributes_Prop_Type::make()->meta( Overridable_Prop_Type::ignore() ), | |
| 53 | + 'attributes' => Attributes_Prop_Type::make(), | |
| 55 | 54 | ]; |
| 56 | 55 | } |
| 57 | 56 | |
| 58 | 57 | protected function define_atomic_controls(): array { |
| @@ -103,10 +102,6 @@ | ||
| 103 | 102 | protected function get_templates(): array { |
| 104 | 103 | return [ |
| 105 | 104 | 'elementor/elements/atomic-divider' => __DIR__ . '/atomic-divider.html.twig', |
| 106 | 105 | ]; |
| 107 | - } | |
| 108 | - | |
| 109 | - public function render_markdown(): string { | |
| 110 | - return '---'; | |
| 111 | 106 | } |
| 112 | 107 | } |