chentaohua/wangeditor5
最新稳定版本:1.0.0
Composer 安装命令:
composer require chentaohua/wangeditor5
包简介
wangEditor5 extension for laravel-admin
README 文档
README
Installation
composer require chentaohua/wangeditor5 php artisan vendor:publish --provider=Cth\WangEditor5\WangEditor5ServiceProvider
Configuration
In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.
'extensions' => [ // document : https://www.wangeditor.com/v5/ 'wangeditor5' => [ // If the value is set to false, this extension will be disabled 'enable' => true, 'height' => '300px', 'editor_config' => ['placeholder' => '请输入内容 ...'], 'editor_mode' => 'simple', // or 'default' 'toolbar_config' => [ ], 'toolbar_mode' => 'simple', // or 'default' ] ],
The configuration of the editor can be found in wangEditor5 Documentation.
Usage
Use it in the form form:
$form->wangEditor5('content');
License
Licensed under The MIT License (MIT).
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-19