nevadskiy/nova-quill-field

A Laravel Nova WYSIWYG field based on a Quill editor.

Installs: 7 982

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Language:Vue

0.1.2 2023-05-20 21:40 UTC

This package is auto-updated.

Last update: 2024-10-21 22:22:50 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(),
    ];
}