Skip to content

alfonsobries/nova-froala-editor

Repository files navigation

Nova Froala editor field

Laravel Nova Froala Editor field.

Installation

  1. You can install the package in to a Laravel app that uses Nova via composer:
composer require alfonsobries/nova-froala-editor
  1. The froala editor needs to load the font awesome library, in order to publish the fonts in the public folder you need to run:
php artisan vendor:publish --tag=froala-editor-fonts

Simple Usage:

NovaFroalaEditor::make('Field Name')

Advanced Usage:

You can pass any existing Froala option. Consult the Froala documentation to view the list of all the available options

NovaFroalaEditor::make('Description')
    ->options(['toolbarInline' => true])

Screenshot

Froala editor

License

The MIT License (MIT). Please see License File for more information.