Integrates simditor into Laravel-admin
Clone or download
Latest commit b636516 Oct 15, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources First commit Sep 22, 2018
src First commit Sep 22, 2018
.gitignore First commit Sep 22, 2018
LICENSE First commit Sep 22, 2018 Update Oct 16, 2018
composer.json First commit Sep 22, 2018

Simditor extension for laravel-admin

This is a laravel-admin extension that integrates Simditor into the laravel-admin form.




composer require jxlwqq/simditor

php artisan vendor:publish --tag=laravel-admin-simditor


In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.

'extensions' => [
    'simditor' => [
        // Set to false if you want to disable this extension
        'enable' => true,
        // Editor configuration
        'config' => [
            'upload' => [
                'url' => '/admin/api/upload', # example api route: admin/api/upload
                'fileKey' => 'upload_file',
                'connectionCount' => 3,
                'leaveConfirm' => 'Uploading is in progress, are you sure to leave this page?'
            'tabIndent' => true,
            'toolbar' => ['title', 'bold', 'italic', 'underline', 'strikethrough', 'fontScale', 'color', '|', 'ol', 'ul', 'blockquote', 'code', 'table', '|', 'link', 'image', 'hr', '|', 'indent', 'outdent', 'alignment'],
            'toolbarFloat' => true,
            'toolbarFloatOffset' => 0,
            'toolbarHidden' => false,
            'pasteImage' => true,
            'cleanPaste' => false,

The configuration of the editor can be found in Simditor Documentation.


Use it in the form form:


More resources

Awesome Laravel-admin


Licensed under The MIT License (MIT).