mei-labs/fi-tinymce
最新稳定版本:v1.0.2
Composer 安装命令:
composer require mei-labs/fi-tinymce
包简介
Filament TinyMCE Plugin
README 文档
README
Integration
Filament TinyMCE integrates with:
- TinyMCE 6
- Laravel Filemanager
Installation
To install the package via Composer, run the following command:
composer require mei-labs/fi-tinymce
After installation, publish the assets:
php artisan vendor:publish --tag="mei-labs-tinymce-assets"
Next, publish the Laravel Filemanager’s configuration and assets:
php artisan vendor:publish --tag=lfm_config php artisan vendor:publish --tag=lfm_public
Create a symbolic link for storage:
php artisan storage:link
Optionally, you can publish the configuration file for customization:
php artisan vendor:publish --tag="mei-labs-tinymce-config"
Usage
To use Filament TinyMCE, you can employ the following syntax in your code:
use MeiLABS\TinyMCE\Forms\Components\TinymceField; TinymceField::make('description');
Customization
Simple Editor
To utilize a predefined simple editor, you may use the profile() method as follows:
TinymceField::make('description')->profile('simple');
统计信息
- 总下载量: 73
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-18