Skip to content

craft-cloud/nova-ck-light

Repository files navigation

NovaCKLight

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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.