- TinyMCE 6
- Laravel Filemanager
You can install the package via composer:
composer require daothanh/tinymcePublish the assets:
php artisan vendor:publish --tag="daothanh-tinymce-assets"Publish the Laravel Filemanager’s config and assets :
php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_publicCreate symbolic link :
php artisan storage:linkOptionally, you can publish the config file for customization:
php artisan vendor:publish --tag="daothanh-tinymce-config"use Daothanh\Tinymce\Forms\Components\TinymceField;
TinymceField::make('description');To use a predefined simple editor, you may use the profile() method:
TinymceField::make('description')->profile('simple');