ezadev / summernote
Summernote extension for ezadev-admin
0.0.1
2021-08-21 06:25 UTC
Requires
- php: >=7.0.0
- ezadev/admin: ~0.6.1
Requires (Dev)
- phpunit/phpunit: ~6.0
README
This is a ezadev-admin
extension that integrates Summernote
into the ezadev-admin
form.
Installation
composer require ezadev/summernote
Then
php artisan vendor:publish --tag=ezadev-summernote
Configuration
In the extensions
section of the config/admin.php
file, add some configuration that belongs to this extension.
'extensions' => [ 'summernote' => [ //Set to false if you want to disable this extension 'enable' => true, // Editor configuration 'config' => [ ] ] ]
The configuration of the editor can be found in Summernote Documentation, such as configuration language and height.
'config' => [ 'lang' => 'en-EN', 'height' => 500, ]
Usage
Use it in the form:
$form->summernote('content');
License
Licensed under The MIT License (MIT).