craft-cloud/nova-ck-light
最新稳定版本:0.02
Composer 安装命令:
composer require craft-cloud/nova-ck-light
包简介
A simple ckeditor and ckfinder nova wysiwyg field
README 文档
README
A bare bones nova wysiwyg field using ckeditor & ckfinder
Prerequisites
This package was developed using PHP 8, Vue 3, Laravel 10, Nova 4, ckfinder for laravel and ckeditor 5 vue. It currently assumes you have a ckfinder connector endpoint at /ckfinder/connector see ckfinder for laravel for details.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require craft-cloud/nova-ck-light
Usage
Default editor
use CraftCloud\NovaCkLight\NovaCkLight; NovaCkLight::make('MyFieldName'),
Editor options
use CraftCloud\NovaCkLight\NovaCkLight; NovaCkLight::make('MyFieldName')->toolbar(['heading', '|', 'bold', 'italic', 'link']),
If you require images without an editor
use CraftCloud\NovaCkLight\NovaCkLight; NovaCkLight::make('MyFieldName')->imageOnly(),
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email admin@craftcloud.co.uk instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 732
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-28