HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: /sites/nuofama.com/wp-content/plugins/ele-custom-skin/theme-builder/documents/custom-grid.php
<?php

use ElementorPro\Modules\ThemeBuilder\Documents\Theme_Section_Document;
use Elementor\Core\DocumentTypes\Post;
use ElementorPro\Modules\ThemeBuilder\Documents\Single;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

class customGrid extends Theme_Section_Document {

	public static function get_properties() {
		$properties = parent::get_properties();

		$properties['condition_type'] = 'custom_grid';
		$properties['location'] = 'single';
    		$properties['support_kit'] = true;
		$properties['support_site_editor'] = true;

		return $properties;
	}

  protected static function get_site_editor_type() {
		return 'custom_grid';
	}
  
  protected static function get_site_editor_thumbnail_url() {
		return ELECS_URL . 'assets/images/custom-grid.svg';
	}
  
	public function get_name() {
		return 'custom_grid';
	}
  
  public static function get_type() {
		return 'custom_grid';
	}

	public static function get_title() {
		return __( 'Custom Grid', 'ele-custom-skin' );
	}

  protected static function get_editor_panel_categories() {
		$categories = [
			'ele-custom-grid' => [
				'title' => __( 'Custom Grid', 'elementor-pro' ),
			],
		];
    return $categories + parent::get_editor_panel_categories();
	
  }

/*

I want a preview like the template not default

*/
  
 
}