You can install the package via composer:
composer require jacobfitzp/nova-tinymce
Before you can start using the TinyMCE field you need to set your API key, the easiest way to do this is by setting TINYMCE_API_KEY
in your apps .env
, alternatively you can publish the configuration file and set it there.
Now you can simply use the Tinymce
field in your Nova resource:
Tinymce::make('Content')
->fullWidth()
->help('Content to display on the page'),
Publish the configuration file:
php artisan vendor:publish --tag=nova-tinymce
The MIT License (MIT). Please see License File for more information.