backpack/ckeditor-field
最新稳定版本:1.0.0
Composer 安装命令:
composer require backpack/ckeditor-field
包简介
CKEditor field for Backpack
关键字:
README 文档
README
backpack\ckeditor-field
A CKEditor field type for Laravel Backpack, using the CKEditor WYSIWYG editor.
Install
To install this package via Composer, run this command:
composer require backpack/ckeditor-field
Usage
In your CrudController, use the CKEditor field type:
CRUD::field('content')->type('ckeditor');
You can customize most of CKEditor's options:
CRUD::field([ // CKEditor 'name' => 'content', 'type' => 'ckeditor', // optional: 'options' => [ 'autoGrow_minHeight' => 200, 'autoGrow_bottomSpace' => 50, 'removePlugins' => [], ], // elfinder configuration options when using [the file manager package](https://github.com/Laravel-Backpack/FileManager) 'elfinderOptions' => [], // it's the same as `true`, will enable with default options, by default is: `false` ]);
If you'd like to be able to select files from elFinder, you need to install Backpack/FileManager package and enable it in your field: elfinderOptions => true.
Custom Builds
Custom builds are not supported at the moment. If you need a custom build, you should publish the field to your own resources/views/vendor/backpack/ckeditor-field/fields/ckeditor.blade.php and modify it as needed.
License
CKEditor is released under the GPL license. Please see the CKEditor licensing page for more information. Means that if you use CKEditor 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 CKEditor license.
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.
Credits
统计信息
- 总下载量: 789
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-29