alfonsobries/nova-froala-editor

A Laravel Nova froala editor field.

1.0 2018-08-25 00:06 UTC

This package is auto-updated.

Last update: 2024-10-29 05:16:39 UTC


README

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.