backpack/tinymce-field
最新稳定版本:1.0.0
Composer 安装命令:
composer require backpack/tinymce-field
包简介
TinyMCE field for Backpack
关键字:
README 文档
README
backpack\tinymce-field
A field type for Laravel Backpack that uses the TinyMCE WYSIWYG editor.
Install
To install this package via Composer, run this command:
composer require backpack/tinymce-field
Usage
In your CrudController, use the tinymce field type:
CRUD::field([ // TinyMCE 'name' => 'description', 'label' => 'Description', 'type' => 'tinymce', // optional overwrite of the configuration array // 'options' => [ //'selector' => 'textarea.tinymce', //'skin' => 'dick-light', //'plugins' => 'image link media anchor' // ], ]);
NOTE: if you want to modify the toolbar buttons (add or remove), here is the default configured toolbar so you can modify it:
'options' => ['toolbar' => 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent'],
Some buttons are related to specific plugins and need them to work, please read more about it here: tiny mce available toolbar buttons
Security
If you discover any security related issues, please email tabacitu@backpackforlaravel.com instead of using the issue tracker.
Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.
License
TinyMCE is released under the GPL license. Please see the TinyMCE licensing page for more information. Means that if you use TinyMCE in your project, and you distribute that project, you need to make the source code of your project available under a GPL-compatible license or purchase a commercial TinyMCE license.
Credits
统计信息
- 总下载量: 793
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-06-29