evolution-cms/etinymce
最新稳定版本:8.3.2
Composer 安装命令:
composer require evolution-cms/etinymce
包简介
TinyMCE 8 for Evolution CMS
README 文档
README
TinyMCE 8 integration for Evolution CMS 3.5.2+.
Requirements
- PHP 8.3+
- Evolution CMS 3.5.2+
- Composer 2.2+
Install
From the core directory:
php artisan package:installrequire evolution-cms/etinymce "*"
Publish assets and config
Publish everything:
php artisan vendor:publish --provider="EvolutionCMS\eTinyMCE\eTinyMCEServiceProvider"
Or publish by tag:
php artisan vendor:publish --provider="EvolutionCMS\eTinyMCE\eTinyMCEServiceProvider" --tag=etinymce-config php artisan vendor:publish --provider="EvolutionCMS\eTinyMCE\eTinyMCEServiceProvider" --tag=etinymce-assets php artisan vendor:publish --provider="EvolutionCMS\eTinyMCE\eTinyMCEServiceProvider" --tag=etinymce-profiles
Note: eTinyMCE publishes assets as individual files to avoid Evo directory publish issues. The first publish may take a bit longer because TinyMCE has many files.
Configuration
Published config path:
- core/custom/config/cms/settings/eTinyMCE.php
Default profiles and theme mapping live here. Example structure:
- default_profile
- default_skin
- opener (tinymce)
- themes (light/lightness/dark/darkness)
- profiles (full/mini/introtext/custom)
Default editor override (optional):
- core/custom/config/cms/settings/which_editor.php (string, e.g. "eTinyMCE")
Manager settings
System Settings > Interface:
- Profile (required)
- Editor theme (light/lightness/dark/darkness or auto)
- Skin override (optional)
Editor theme controls skin. Profile controls toolbar/plugins.
Profiles
JS profile files live at:
- public/assets/plugins/eTinyMCE/configs/.js
Add a new profile by:
- Creating a new JS config file in the path above.
- Adding the profile to core/custom/config/seiger/settings/eTinyMCE.php.
Profiles contain editor options only. Do not set skin or content_css in profiles.
File manager
Uses the standard Evo file manager (mcpuk) with opener tinymce by default.
You can override the opener via system setting etinymce_opener.
TinyMCE license key
TinyMCE 8 requires an explicit license declaration even for self-hosted Community build.
eTinyMCE always sets license_key = 'gpl' internally.
Troubleshooting
- If TinyMCE does not load, ensure assets are published to public/assets/plugins/eTinyMCE.
- If a profile config is missing, the editor falls back to the default profile.
- Custom language packs can be added under public/tinymce/langs and published to assets/plugins/eTinyMCE/tinymce/langs.
统计信息
- 总下载量: 121
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2026-01-21