PHP code example of s1lver / yii2-summernote

1. Go to this page and download the library: Download s1lver/yii2-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/ */

    

s1lver / yii2-summernote example snippets


<?= $form->field($model, 'test')->widget(SummernoteWidget::class, [
    'customToolbarButtons' => [
        [
            'type' => 'dropdown',
            'label' => 'Custom tags',
            'tooltip' => 'Custom tags',
            'values' => [
                'Tag1',
                'Tag2',
                'Tag3',
            ],
        ],
    ],
])