tinymce-editor/metadata.php

86 lignes
2.8 KiB
PHP
Brut Vue normale Historique

2020-06-09 03:09:43 +02:00
<?php
2023-04-02 23:00:41 +02:00
/**
* This file is part of O3-Shop TinyMCE editor module.
2020-06-09 03:09:43 +02:00
*
2023-04-02 23:00:41 +02:00
* 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.
2020-06-09 03:09:43 +02:00
*
2023-04-02 23:00:41 +02:00
* 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
2023-04-02 23:00:41 +02:00
* @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)
2020-06-09 03:09:43 +02:00
*/
$sMetadataVersion = '2.1';
$aModule = [
2023-04-02 23:00:41 +02:00
'id' => 'tinymce-editor',
'title' => 'TinyMCE Editor',
2023-04-07 21:37:34 +02:00
'description' => 'TinyMCE 6 Integration for O3-Shop',
2023-04-07 21:01:44 +02:00
'thumbnail' => 'logo.png',
2023-04-06 20:58:08 +02:00
'version' => '1.0.0 ( 2023-04-06 )',
2023-04-02 23:00:41 +02:00
'author' => 'Marat Bedoev, O3-Shop',
'url' => 'https://www.o3-shop.com/',
2020-06-09 03:09:43 +02:00
'extend' => [
2023-04-02 23:49:41 +02:00
OxidEsales\Eshop\Core\ViewConfig::class => O3\TinyMCE\Application\Core\ViewConfig::class
2022-06-09 21:11:02 +02:00
],
'controllers' => [
2023-04-06 20:58:08 +02:00
'tinyfilemanager' => O3\TinyMCE\Application\Controller\Admin\TinyFileManager::class
2022-06-09 21:11:02 +02:00
],
'templates' => [
2023-04-03 00:03:09 +02:00
'TinyFilemanager.tpl' => 'o3-shop/tinymce-editor/Application/views/admin/filemanager.tpl',
2023-04-05 08:27:08 +02:00
'EditorSwitch.tpl' => 'o3-shop/tinymce-editor/Application/views/admin/editorswitch.tpl'
2020-06-09 03:09:43 +02:00
],
'blocks' => [
[
'template' => 'bottomnaviitem.tpl',
'block' => 'admin_bottomnaviitem',
'file' => 'Application/views/blocks/admin/bottomnaviitem_admin_bottomnaviitem.tpl'
]
],
'settings' => [
/* enabling tinyMCE for these classes */
[
'group' => 'tinyMceMain',
'name' => 'aTinyMCE_classes',
'type' => 'arr',
'value' => [
"article_main",
"category_text",
"content_main",
"newsletter_main",
"news_text"
],
2022-06-09 21:11:02 +02:00
'position' => 0
2020-06-09 03:09:43 +02:00
],
2022-06-09 21:11:02 +02:00
[
'group' => 'tinyMceMain',
'name' => 'blTinyMCE_filemanager',
'type' => 'bool',
'value' => true,
2020-06-09 03:09:43 +02:00
'position' => 2
],
2023-04-07 22:48:34 +02:00
[
'group' => 'tinyMceMain',
'name' => 'sTinyMCE_apikey',
'type' => 'str',
'value' => '',
'position' => 3
],
2020-06-09 03:09:43 +02:00
[
'group' => 'tinyMceMain',
'name' => 'aTinyMCE_extjs',
'type' => 'arr',
'value' => [],
2023-04-07 22:48:34 +02:00
'position' => 4
2020-06-09 03:09:43 +02:00
]
]
];