remove API key support (can added via additional plugin)

This commit is contained in:
O3-Shop 2023-04-19 15:27:48 +02:00 committed by Daniel Seifert
parent 6424eed048
commit cd679f110d
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
4 changed files with 0 additions and 17 deletions

View File

@ -146,14 +146,6 @@ class Loader
'out/tinymce/tinymce.min.js'
);
/** @var string $apiKey */
$apiKey = Registry::getConfig()->getConfigParam('sTinyMCE_apikey', '');
if (strlen(trim($apiKey))) {
$aInclude[3][] = "https://cdn.tiny.cloud/1/".
trim($apiKey).
"/tinymce/6/plugins.min.js";
}
Registry::getConfig()->setGlobalParameter('includes' . $sSuffix, $aInclude);
}
}

View File

@ -29,6 +29,5 @@ $aLang = [
'HELP_SHOP_MODULE_blTinyMCE_filemanager' => 'Ist diese Option aktiv, können Bilder hochgeladen werden. Der Speicherort ist: out/pictures/wysiwigpro/',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>TinyMCE für folgende Backend-Seiten laden:</h3><ul><li>article_main (Artikelbeschreibung)</li><li>content_main (CMS Seiten)</li><li>category_text (Kategorienbeschreibung)</li><li>newsletter_main (Newsletter)</li><li>news_text (Nachrichten-Text)</li></ul>',
'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_GROUP_tinyMceSettings' => 'TinyMCE Einstellungen &amp; Plugins',
];

View File

@ -29,6 +29,5 @@ $aLang = [
'HELP_SHOP_MODULE_blTinyMCE_filemanager' => 'When enabled, you can upload pictures into this directory: out/pictures/wysiwigpro/',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>Enable TinyMCE for following backend pages:</h3><ul><li>article_main (product details)</li><li>content_main (CMS pages)</li><li>category_text (category description)</li><li>newsletter_main (newsletter)</li><li>news_text (news text)</li></ul>',
'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_GROUP_tinyMceSettings' => 'TinyMCE Settings &amp; Plugins',
];

View File

@ -66,13 +66,6 @@ $aModule = [
'type' => 'bool',
'value' => true,
'position' => 2,
],
[
'group' => 'tinyMceMain',
'name' => 'sTinyMCE_apikey',
'type' => 'str',
'value' => '',
'position' => 3,
]
],
];