Simplemde markdown editor extension for laravel-admin
Simplemde is a great markdown editor, this extension is used to integrate
Simplemde into the
composer require laravel-admin-ext/simplemde
php artisan vendor:publish --tag=laravel-admin-simplemde
extensions section of the
config/admin.php file, add some configuration that belongs to this extension.
'extensions' => [ 'simplemde' => [ // Set to false if you want to disable this extension 'enable' => true, // If you want to set an alias for the calling method //'alias' => 'markdown', // Editor configuration 'config' => [ ] ] ]
The configuration of the editor can be found in Simplemde Documentation
'config' => [ 'autofocus' => true, 'placeholder' => 'xxxx', .... ]
Use it in the form:
If the method alias is specified in the configuration as
Help keeping the project development going, by donating a little. Thanks in advance.
Licensed under The MIT License (MIT).