PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.2
Elementor Website Builder – more than just a page builder v4.3.2
4.3.2 4.3.1 4.3.0 4.3.0-beta3 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 All 455 releases
← All changes | modules/atomic-widgets/elements/atomic-background-video/atomic-background-video.php +11 -3 4.3.0 → 4.3.2 View file →
@@ -75,9 +75,9 @@
75 75 return 'eicon-background-video';
76 76 }
77 77
78 78 public static function get_computed_html_tag( array $settings ): string {
79 - return Html_Tag_Computer::compute( $settings, 'div' );
79 + return Utils::validate_html_tag( Html_Tag_Computer::compute( $settings, 'div' ) );
80 80 }
81 81
82 82 protected static function define_props_schema(): array {
83 83 // The States control is design-time only and directly tied to the controls. A prop dependency
@@ -94,11 +94,11 @@
94 94
95 95 return [
96 96 'classes' => Classes_Prop_Type::make()->default( [] ),
97 97 'tag' => String_Prop_Type::make()
98 - ->enum( [ 'div', 'header', 'section', 'article', 'aside', 'footer' ] )
98 + ->enum( [ 'div', 'header', 'section', 'article', 'aside', 'footer', 'main', 'nav' ] )
99 99 ->default( 'div' )
100 - ->description( 'The HTML tag for the background video container. Could be div, header, section, article, aside, or footer.' ),
100 + ->description( 'The HTML tag for the background video container. Could be div, header, section, article, aside, footer, main, or nav.' ),
101 101 'source' => Video_Src_Prop_Type::make()->alias( 'video', 'src' ),
102 102 'start_time' => Number_Prop_Type::make()
103 103 ->default( null )
104 104 ->meta( Dynamic_Prop_Type::ignore() )
@@ -184,8 +184,16 @@
184 184 ],
185 185 [
186 186 'value' => 'footer',
187 187 'label' => 'Footer',
188 + ],
189 + [
190 + 'value' => 'main',
191 + 'label' => 'Main',
192 + ],
193 + [
194 + 'value' => 'nav',
195 + 'label' => 'Nav',
188 196 ],
189 197 ] )
190 198 ->set_label( esc_html__( 'HTML Tag', 'elementor' ) ),
191 199 Text_Control::bind_to( '_cssid' )