Awesome Open Source
Awesome Open Source

Summernote for Laravel Nova (archived)

Packagist License Latest Stable Version Total Downloads

Summernote WYSIWYG editor for Laravel Nova.

PLEASE NOTE: This repo has been archived and will not be updated!

Installation

  1. composer require emotality/summernote-nova
  2. php artisan vendor:publish --provider="Emotality\Nova\SummernoteServiceProvider"

Laravel 5.5+ will use the auto-discovery function but for Laravel 5.4 and lower, you will need to include the service provider manually in config/app.php:

'providers' => [
    ...,
    /*
     * Package Service Providers...
     */
    Emotality\Nova\SummernoteServiceProvider::class,
    ...,
];

Usage

Import class inside your Nova resource:

use Emotality\Nova\Summernote;

Then add it to your fields array:

public function fields(Request $request)
{
    return [
        ...,
        Summernote::make('Body'),
        ...
    ];
}

License

summernote-nova is released under the MIT license. See LICENSE for details.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Php (394,997
Laravel (13,232
Php Library (1,382
Laravel Package (1,093
Wysiwyg (412
Nova (289
Laravel Nova (136
Summernote (75
Laravel Nova Package (2
Related Projects