| @@ -57,14 +57,15 @@ | ||
| 57 | 57 | * @since 1.0.0 |
| 58 | 58 | * @access public |
| 59 | 59 | */ |
| 60 | 60 | public function content_template() { |
| 61 | + $control_uid = $this->get_control_uid(); | |
| 61 | 62 | ?> |
| 62 | 63 | <div class="elementor-control-field"> |
| 63 | - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 64 | + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 64 | 65 | <div class="elementor-control-input-wrapper elementor-control-unit-5"> |
| 65 | - <select id="<?php $this->print_control_uid(); ?>" class="elementor-control-font-family" data-setting="{{ data.name }}"> | |
| 66 | - <option value=""><?php echo esc_html__( 'Default', 'elementor' ); ?></option> | |
| 66 | + <select id="<?php echo $control_uid; ?>" class="elementor-control-font-family" data-setting="{{ data.name }}"> | |
| 67 | + <option value=""><?php echo __( 'Default', 'elementor' ); ?></option> | |
| 67 | 68 | <# _.each( data.groups, function( group_label, group_name ) { |
| 68 | 69 | var groupFonts = getFontsByGroups( group_name ); |
| 69 | 70 | if ( ! _.isEmpty( groupFonts ) ) { #> |
| 70 | 71 | <optgroup label="{{ group_label }}"> |