forked from OpenMage/magento-lts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix insert variable * temporary disable openmage widgets * fix insert widget * rebrand openmage variables * fix media browser callback * clean * removed empty lines * removed empty line * here we need the empty newline char ehhehe * we need newline at the end of the file * set toolbar buttons * reorder and fix * add skin default dark / draft the language support * stylish openmage widget * phpcs * vscode fucking things * first attempt to fix translator * fix system config multiple values depends * add tinymce skins to config * fix multiple alert errors in chrome * fix multiple alert errors in chrome * restore * copyright * tinymce-5 default skin --------- Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
- Loading branch information
1 parent
3d36452
commit 750a10c
Showing
8 changed files
with
116 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
app/code/core/Mage/Adminhtml/Model/System/Config/Source/Cms/Wysiwyg/Skin.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/** | ||
* OpenMage | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* that is bundled with this package in the file LICENSE.txt. | ||
* It is also available at https://opensource.org/license/osl-3-0-php | ||
* | ||
* @category Mage | ||
* @package Mage_Adminhtml | ||
* @copyright Copyright (c) 2023 The OpenMage Contributors (https://www.openmage.org) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
/** | ||
* Configuration source model for Wysiwyg skin | ||
* | ||
* @category Mage | ||
* @package Mage_Adminhtml | ||
*/ | ||
class Mage_Adminhtml_Model_System_Config_Source_Cms_Wysiwyg_Skin | ||
{ | ||
public function toOptionArray() | ||
{ | ||
return [ | ||
[ | ||
'value' => 'oxide', | ||
'label' => 'Oxide' | ||
], | ||
[ | ||
'value' => 'oxide-dark', | ||
'label' => 'Oxide Dark' | ||
], | ||
[ | ||
'value' => 'tinymce-5', | ||
'label' => 'Tinymce 5' | ||
], | ||
[ | ||
'value' => 'tinymce-5-dark', | ||
'label' => 'Tinymce 5 Dark' | ||
] | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,6 +200,7 @@ | |
<cms> | ||
<wysiwyg> | ||
<enabled>enabled</enabled> | ||
<skin>tinymce-5</skin> | ||
</wysiwyg> | ||
</cms> | ||
<system> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.