remove API key support (can added via additional plugin)
This commit is contained in:
parent
6424eed048
commit
cd679f110d
@ -146,14 +146,6 @@ class Loader
|
|||||||
'out/tinymce/tinymce.min.js'
|
'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);
|
Registry::getConfig()->setGlobalParameter('includes' . $sSuffix, $aInclude);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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/',
|
'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>',
|
'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',
|
'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 & Plugins',
|
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Einstellungen & Plugins',
|
||||||
];
|
];
|
||||||
|
@ -29,6 +29,5 @@ $aLang = [
|
|||||||
'HELP_SHOP_MODULE_blTinyMCE_filemanager' => 'When enabled, you can upload pictures into this directory: out/pictures/wysiwigpro/',
|
'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>',
|
'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.',
|
'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 & Plugins',
|
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Settings & Plugins',
|
||||||
];
|
];
|
||||||
|
@ -66,13 +66,6 @@ $aModule = [
|
|||||||
'type' => 'bool',
|
'type' => 'bool',
|
||||||
'value' => true,
|
'value' => true,
|
||||||
'position' => 2,
|
'position' => 2,
|
||||||
],
|
|
||||||
[
|
|
||||||
'group' => 'tinyMceMain',
|
|
||||||
'name' => 'sTinyMCE_apikey',
|
|
||||||
'type' => 'str',
|
|
||||||
'value' => '',
|
|
||||||
'position' => 3,
|
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user