PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.2
Elementor Website Builder – more than just a page builder v3.2.2
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/code.php +3 -6 4.1.0-dev33.2.2 View file →
@@ -46,12 +46,8 @@
46 46 return [
47 47 'label_block' => true,
48 48 'language' => 'html', // html/css
49 49 'rows' => 10,
50 - 'ai' => [
51 - 'active' => true,
52 - 'type' => 'code',
53 - ],
54 50 'dynamic' => [
55 51 'categories' => [ TagsModule::TEXT_CATEGORY ],
56 52 ],
57 53 ];
@@ -67,13 +63,14 @@
67 63 * @since 1.0.0
68 64 * @access public
69 65 */
70 66 public function content_template() {
67 + $control_uid = $this->get_control_uid();
71 68 ?>
72 69 <div class="elementor-control-field">
73 - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label>
70 + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
74 71 <div class="elementor-control-input-wrapper elementor-control-dynamic-switcher-wrapper">
75 - <textarea id="<?php $this->print_control_uid(); ?>" rows="{{ data.rows }}" class="e-input-style elementor-code-editor" data-setting="{{ data.name }}"></textarea>
72 + <textarea id="<?php echo $control_uid; ?>" rows="{{ data.rows }}" class="elementor-input-style elementor-code-editor elementor-control-tag-area" data-setting="{{ data.name }}"></textarea>
76 73 </div>
77 74 </div>
78 75 <# if ( data.description ) { #>
79 76 <div class="elementor-control-field-description">{{{ data.description }}}</div>