<div class="tf_active_block_overlay"></div>
							<div class="tf_active_block_menu tf_interface">
								<ul class="tf_active_block_menu_ul">
									<li class="tf_active_block_menu_li"><span class="ti-menu"></span>
										<ul>
											<li>
												<a class="tf_lightbox_link_region-swap" title="<?php 
        _e('Swap', 'themify-flow');
        ?>
" href="#">
													<span class="ti-back-right"></span>
												</a>
											</li>
											<li>
												<a class="tf_lightbox_link_region-edit" data-edit-url="<?php 
        echo TF_Model::get_template_part_edit_url($TF_Layout->region_footer, array('tf_region' => 'footer', 'parent_template_id' => $TF_Layout->layout_id));
        ?>
" title="<?php 
        _e('Edit', 'themify-flow');
        ?>
" href="#">
													<span class="ti-pencil"></span>
												</a>
											</li>
											<li>
												<a class="tf_lightbox_link_region-delete" title="<?php 
        _e('Delete', 'themify-flow');
        ?>
" href="#">
													<span class="ti-close"></span>
												</a>
 /**
  * Fires to save Template Part form.
  * 
  * @since 1.0.0
  * @access public
  * @param array $post_data Form submit data.
  * @return json
  */
 public function saving_region_form($post_data)
 {
     global $tf_editor_ui;
     $slug = sanitize_text_field($post_data['tf_template_part_shortcode']);
     $shortcode = sprintf('[%s slug="%s"]', 'tf_template_part', $slug);
     $edit_url = TF_Model::get_template_part_edit_url($shortcode, array('tf_region' => $post_data['_target_region']));
     //$css = TF_Model::get_style_preview();
     global $TF, $tf_styles;
     $atom = get_page_by_path($slug, OBJECT, 'tf_template_part');
     if (is_object($atom)) {
         $css = $tf_styles->generate_css(TF_Model::get_custom_styling($atom->ID, array('include_template_part' => true, 'include_global_style' => false, 'include_module_style' => true)));
     } else {
         $css = '';
     }
     $tf_editor_ui->force_read_shortcode();
     $data = array('region' => $post_data['_target_region'], 'html' => do_shortcode($shortcode), 'shortcode' => $shortcode, 'edit_url' => $edit_url, 'slug' => $slug, 'caption' => sprintf(__('Template Part: %s', 'themify-flow'), TF_Model::get_template_part_title($slug)), 'styles' => $css);
     wp_send_json_success($data);
 }