craft-cloud / nova-ck-light
A simple ckeditor and ckfinder nova wysiwyg field
Installs: 658
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0
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.