| @@ -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> |