PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.0
Elementor Website Builder – more than just a page builder v3.2.0
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 +7 -2 3.1.43.2.0 View file →
@@ -1,7 +1,9 @@
1 1 <?php
2 2 namespace Elementor;
3 3
4 +use Elementor\Modules\DynamicTags\Module as TagsModule;
5 +
4 6 if ( ! defined( 'ABSPATH' ) ) {
5 7 exit; // Exit if accessed directly.
6 8 }
7 9
@@ -44,8 +46,11 @@
44 46 return [
45 47 'label_block' => true,
46 48 'language' => 'html', // html/css
47 49 'rows' => 10,
50 + 'dynamic' => [
51 + 'categories' => [ TagsModule::TEXT_CATEGORY ],
52 + ],
48 53 ];
49 54 }
50 55
51 56 /**
@@ -62,10 +67,10 @@
62 67 $control_uid = $this->get_control_uid();
63 68 ?>
64 69 <div class="elementor-control-field">
65 70 <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
66 - <div class="elementor-control-input-wrapper">
67 - <textarea id="<?php echo $control_uid; ?>" rows="{{ data.rows }}" class="elementor-input-style elementor-code-editor" data-setting="{{ data.name }}"></textarea>
71 + <div class="elementor-control-input-wrapper elementor-control-dynamic-switcher-wrapper">
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>
68 73 </div>
69 74 </div>
70 75 <# if ( data.description ) { #>
71 76 <div class="elementor-control-field-description">{{{ data.description }}}</div>