ezadev / summernote
Summernote extension for ezadev-admin
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/ezadev/summernote
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).