* @copyright 2007-2022 Leotheme * @license http://leotheme.com - prestashop template provider */ namespace LeoElements; use LeoElements\Modules\DynamicTags\Module as TagsModule; use LeoElements\Leo_Helper; if ( ! defined( '_PS_VERSION_' ) ) { exit; // Exit if accessed directly. } /** * Elementor WYSIWYG control. * * A base control for creating WYSIWYG control. Displays a WordPress WYSIWYG * (TinyMCE) editor. * * @since 1.0.0 */ class Control_Wysiwyg extends Base_Data_Control { /** * Get wysiwyg control type. * * Retrieve the control type, in this case `wysiwyg`. * * @since 1.0.0 * @access public * * @return string Control type. */ public function get_type() { return 'wysiwyg'; } /** * Render wysiwyg control output in the editor. * * Used to generate the control HTML in the editor using Underscore JS * template. The variables for the class are available using `data` JS * object. * * @since 1.0.0 * @access public */ public function content_template() { ?>