PHP code example of broccoli-html-editor / broccoli-field-summernote

1. Go to this page and download the library: Download broccoli-html-editor/broccoli-field-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/ */

    

broccoli-html-editor / broccoli-field-summernote example snippets


$path_to_vendor = 'path/to/vendor/';
@$conf->plugins->px2dt->guieditor->custom_fields['multitext'] = array(
    'backend'=>array(
        'class' => 'broccoliHtmlEditor\\broccoliFieldSummernote\\summernote',
        '       'function' => 'window.BroccoliFieldSummernote'
    ),
);