at path:
ROOT
/
wp-content
/
plugins
/
tutor
/
includes
/
droip
/
backend
/
Editor.php
run:
R
W
Run
ElementGenerator
DIR
2026-04-14 05:34:27
R
W
Run
Ajax.php
5.03 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Backend.php
746 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Editor.php
894 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Frontend.php
321 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Helper.php
863 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Hooks.php
40.91 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Iframe.php
1.37 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Pages.php
8.23 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
VisibilityCondition.php
28.88 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
error_log
up
📄
Editor.php
Save
<?php /** * Preview script for html markup generator * * @package tutor-droip-elements */ namespace TutorLMSDroip; if (! defined('ABSPATH')) { exit; // Exit if accessed directly. } /** * Class Editor * This class is used to define all editor functions. */ class Editor { /** * Class constructor * * @since 1.0.0 */ public function __construct() { add_action('wp_enqueue_scripts', [$this, 'load_assets'], 100); } /** * Load assets * * @since 1.0.0 */ public function load_assets() { wp_enqueue_script(TDE_APP_PREFIX . '-tutor-droip-elements', TDE_PLUGIN_ROOT_BASE . 'build/js/editor.min.js', ['wp-i18n', 'droip-editor'], TDE_APP_VERSION, true); wp_enqueue_style(TDE_APP_PREFIX . '-tutor-droip-elements', TDE_PLUGIN_ROOT_BASE . 'build/css/editor.min.css', null, TDE_APP_VERSION); } }