PHP code example of amirandev / openadmin-summernote

1. Go to this page and download the library: Download amirandev/openadmin-summernote library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

amirandev / openadmin-summernote example snippets


'extensions' => [

    'summernote' => [

        // Set to false to disable this extension
        'enable' => true,

        // Editor configuration options
        'config' => [

            // See Summernote docs for available options
        ],
    ],

],

'config' => [
    'language'    => 'de',
    'height'      => 500,
    'contentsCss' => '/css/frontend-body-content.css',
]

$form->summernote('content');

$form->summernote('content')->options([
    'lang'        => 'fr',
    'height'      => 500,
    'contentsCss' => '/css/frontend-body-content.css',
]);
bash
php artisan vendor:publish --tag=open-admin-summernote
bash
php artisan optimize:clear