37 lines
2.1 KiB
PHP
37 lines
2.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is part of O3-Shop TinyMCE editor module.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 3.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
|
*
|
|
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
|
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
|
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
|
*/
|
|
|
|
// @codeCoverageIgnoreStart
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'charset' => 'UTF-8',
|
|
'TINYMCE_TOGGLE' => 'toggle editor',
|
|
'TINYMCE_PLAINCMS' => '<b class="errorbox">The editor was disabled for this page because it may not contain HTML code</b>',
|
|
'SHOP_MODULE_GROUP_tinyMceMain' => '<style>.groupExp dl dd li {margin-left: 300px;} .groupExp dd h3 {border-bottom: none; margin-bottom: 0;} .groupExp dt .txtfield {margin-top: 33px;}</style>module settings',
|
|
'SHOP_MODULE_blTinyMCE_filemanager' => 'enable filemanager',
|
|
'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_GROUP_tinyMceSettings' => 'TinyMCE Settings & Plugins',
|
|
];
|
|
// @codeCoverageIgnoreEnd
|