Current File : /pages/54/47/d0016649/home/htdocs/ob_maxi/wp-content/themes/thrive-theme/tests/js/js/util/editor.js
class Editor {

	static changeState( state = 'default' ) {
		if ( TVE.ActiveElement ) {
			TVE.state_manager.change( state );
		}
	}

	static getTemplateType() {
		const urlSearchParams = new URLSearchParams( window.location.search );

		return urlSearchParams.get( 'jstest' );
	}
}

module.exports = Editor;