cimpleo/nova-summernote

A Laravel Nova wrapper for the Summernote WYSIWYG editor

dev-master 2018-11-26 03:43 UTC

This package is auto-updated.

Last update: 2024-04-13 14:02:46 UTC


README

Nova field wrapper around the summernote.

Installation

  1. composer require cimpleo/nova-summernote
  2. Run php artisan vendor:publish --tag=public to puslish the fonts to the public directory
  3. That's it.

Usage

Add the following to one of your resources

Import NovaSummernote

use Cimpleo\Summernote\Summernote;

Then call it inside the fields method of your resource.

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