From 754f09344179c64091d655c8f24b1629a79cdb8f Mon Sep 17 00:00:00 2001 From: O3-Shop Date: Wed, 19 Apr 2023 15:16:59 +0200 Subject: [PATCH] remove external JS dependency setting --- Application/Core/TinyMCE/Loader.php | 6 ------ Application/views/admin/de/module_options.php | 2 -- Application/views/admin/en/module_options.php | 2 -- metadata.php | 9 +-------- 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/Application/Core/TinyMCE/Loader.php b/Application/Core/TinyMCE/Loader.php index ddb4215..2d98fe2 100644 --- a/Application/Core/TinyMCE/Loader.php +++ b/Application/Core/TinyMCE/Loader.php @@ -146,12 +146,6 @@ class Loader 'out/tinymce/tinymce.min.js' ); - /** @var string[] $aExtjs */ - $aExtjs = Registry::getConfig()->getConfigParam('aTinyMCE_extjs', []); - foreach ($aExtjs as $js) { - $aInclude[3][] = $js; - } - /** @var string $apiKey */ $apiKey = Registry::getConfig()->getConfigParam('sTinyMCE_apikey', ''); if (strlen(trim($apiKey))) { diff --git a/Application/views/admin/de/module_options.php b/Application/views/admin/de/module_options.php index bfce118..a7309b7 100644 --- a/Application/views/admin/de/module_options.php +++ b/Application/views/admin/de/module_options.php @@ -30,7 +30,5 @@ $aLang = [ 'SHOP_MODULE_aTinyMCE_classes' => '

TinyMCE für folgende Backend-Seiten laden:

', 'HELP_SHOP_MODULE_aTinyMCE_classes' => 'für die Benutzung von TinyMCE in eigenen Admin Views muss hier die entsprechende Controllerklasse eingetragen werden, dann wird für jedes Textarea je ein Editor erzeugt', 'SHOP_MODULE_sTinyMCE_apikey' => 'optionaler API-Key aus Ihrer TinyMCE Registrierung', - 'SHOP_MODULE_aTinyMCE_extjs' => '

Externe JS Abhängigkeiten:

', - 'HELP_SHOP_MODULE_aTinyMCE_extjs' => 'Komplette URL mit https://.', 'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Einstellungen & Plugins', ]; diff --git a/Application/views/admin/en/module_options.php b/Application/views/admin/en/module_options.php index ef751c9..3a1d3f2 100644 --- a/Application/views/admin/en/module_options.php +++ b/Application/views/admin/en/module_options.php @@ -30,7 +30,5 @@ $aLang = [ 'SHOP_MODULE_aTinyMCE_classes' => '

Enable TinyMCE for following backend pages:

', 'HELP_SHOP_MODULE_aTinyMCE_classes' => 'if you want to use TinyMCE for your custom controllers, you need to enter their class names here.', 'SHOP_MODULE_sTinyMCE_apikey' => 'optional API key from your TinyMCE registration', - 'SHOP_MODULE_aTinyMCE_extjs' => '

external JS dependencies:

(e.g. for plugins)', - 'HELP_SHOP_MODULE_aTinyMCE_extjs' => 'Full URL with https://.', 'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Settings & Plugins', ]; diff --git a/metadata.php b/metadata.php index 9470bf8..8a5b815 100755 --- a/metadata.php +++ b/metadata.php @@ -73,13 +73,6 @@ $aModule = [ 'type' => 'str', 'value' => '', 'position' => 3, - ], - [ - 'group' => 'tinyMceMain', - 'name' => 'aTinyMCE_extjs', - 'type' => 'arr', - 'value' => [], - 'position' => 4, - ], + ] ], ];