← All changes
|
modules/atomic-widgets/elements/atomic-image/atomic-image.php
+1
-12
4.3.0-beta3
→
4.2.1
View file →
| @@ -7,9 +7,8 @@ | ||
| 7 | 7 | use Elementor\Modules\AtomicWidgets\PropTypes\Image_Prop_Type; |
| 8 | 8 | use Elementor\Modules\AtomicWidgets\PropTypes\Link_Prop_Type; |
| 9 | 9 | use Elementor\Modules\AtomicWidgets\Controls\Section; |
| 10 | 10 | use Elementor\Modules\AtomicWidgets\Elements\Base\Atomic_Widget_Base; |
| 11 | -use Elementor\Modules\AtomicWidgets\Elements\Base\Html_Tag_Computer; | |
| 12 | 11 | use Elementor\Modules\AtomicWidgets\PropTypes\Attributes_Prop_Type; |
| 13 | 12 | use Elementor\Modules\AtomicWidgets\Controls\Types\Image_Control; |
| 14 | 13 | use Elementor\Modules\AtomicWidgets\Utils\Image\Placeholder_Image; |
| 15 | 14 | use Elementor\Modules\AtomicWidgets\Styles\Style_Definition; |
| @@ -37,23 +36,13 @@ | ||
| 37 | 36 | return esc_html__( 'Image', 'elementor' ); |
| 38 | 37 | } |
| 39 | 38 | |
| 40 | 39 | public function get_keywords() { |
| 41 | - return [ 'ato', 'atom', 'atoms', 'atomic', 'image', 'photo', 'picture' ]; | |
| 40 | + return [ 'ato', 'atom', 'atoms', 'atomic' ]; | |
| 42 | 41 | } |
| 43 | 42 | |
| 44 | 43 | public function get_icon() { |
| 45 | 44 | return 'eicon-e-image'; |
| 46 | - } | |
| 47 | - | |
| 48 | - public static function html_tag_follows_link(): bool { | |
| 49 | - return false; | |
| 50 | - } | |
| 51 | - | |
| 52 | - public static function get_computed_html_tag( array $settings ): string { | |
| 53 | - return Html_Tag_Computer::compute( $settings, 'img', [ | |
| 54 | - Html_Tag_Computer::FOLLOW_LINK_OPTION => static::html_tag_follows_link(), | |
| 55 | - ] ); | |
| 56 | 45 | } |
| 57 | 46 | |
| 58 | 47 | protected static function define_props_schema(): array { |
| 59 | 48 | $props = [ |