PHP code example of nevadskiy / nova-quill-field

1. Go to this page and download the library: Download nevadskiy/nova-quill-field library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nevadskiy / nova-quill-field example snippets


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(),
    ];
}