PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.3
Elementor Website Builder – more than just a page builder v3.2.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/controls/text.php +3 -6 4.2.23.2.3 View file →
@@ -40,15 +40,16 @@
40 40 * @since 1.0.0
41 41 * @access public
42 42 */
43 43 public function content_template() {
44 + $control_uid = $this->get_control_uid();
44 45 ?>
45 46 <div class="elementor-control-field">
46 47 <# if ( data.label ) {#>
47 - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label>
48 + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
48 49 <# } #>
49 50 <div class="elementor-control-input-wrapper elementor-control-unit-5 elementor-control-dynamic-switcher-wrapper">
50 - <input id="<?php $this->print_control_uid(); ?>" type="{{ data.input_type }}" class="tooltip-target elementor-control-tag-area" data-tooltip="{{ data.title }}" data-setting="{{ data.name }}" placeholder="{{ view.getControlPlaceholder() }}" />
51 + <input id="<?php echo $control_uid; ?>" type="{{ data.input_type }}" class="tooltip-target elementor-control-tag-area" data-tooltip="{{ data.title }}" title="{{ data.title }}" data-setting="{{ data.name }}" placeholder="{{ data.placeholder }}" />
51 52 </div>
52 53 </div>
53 54 <# if ( data.description ) { #>
54 55 <div class="elementor-control-field-description">{{{ data.description }}}</div>
@@ -71,12 +72,8 @@
71 72 return [
72 73 'input_type' => 'text',
73 74 'placeholder' => '',
74 75 'title' => '',
75 - 'ai' => [
76 - 'active' => true,
77 - 'type' => 'text',
78 - ],
79 76 'dynamic' => [
80 77 'categories' => [
81 78 TagsModule::TEXT_CATEGORY,
82 79 ],