nevadskiy/nova-quill-field

A Laravel Nova WYSIWYG field based on a Quill editor.

0.1.2 2023-05-20 21:40 UTC

This package is auto-updated.

Last update: 2024-04-21 21:06:19 UTC


README

✅ Requirements

  • Laravel Nova 4.0 or newer

🔌 Installation

Install the package via Composer:

composer require nevadskiy/nova-quill-field

📺 Demo

use Nevadskiy\Quill\Quill;

public function fields(): array
{
    return [
        Quill::make('Content')
            ->withFiles()
            ->theme('bubble')
            ->toolbar([
                [['header' => 2]],
                ['bold', 'italic', 'underline'],
                [['list' => 'ordered'], ['list' => 'bullet']],
                ['blockquote'],
                ['link', 'image', 'video'],
                ['clean'],
            ])
            ->alwaysShow(),
    ];
}