PHP code example of a-shch / yii2-tinymce5-widget

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

    

a-shch / yii2-tinymce5-widget example snippets

 php
<?= $form->field($model, 'content')->widget(ashch\tinymce\TinyMce::class); 
 php


use ashch\tinymce\TinyMce;
------
<?= $form->field($model, 'content')->widget(TinyMCE::class, ['loadFileManager' => false, 'loadTemplates' => false,]);