craft-cloud/nova-ck-light

A simple ckeditor and ckfinder nova wysiwyg field

0.02 2023-03-29 13:48 UTC

This package is auto-updated.

Last update: 2024-05-15 11:44:04 UTC


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.