Yii2-Tinymce

github: https://github.com/letyii/yii2-tinymce

Composer:

Add


"letyii/yii2-tinymce": "dev-master"

to the require section of your application’s composer.json file.

Usage Example:




$model = Article::findOne(1);

echo $form->field($model, 'content')->widget(letyii\tinymce\Tinymce::className(), [

    'options' => [

        'id' => 'testid',

    ],

    'configs' => [ // Read more: http://www.tinymce.com/wiki.php/Configuration

        'link_list' => [

            [

                'title' => 'My page 1',

                'value' => 'http://www.tinymce.com',

            ],

            [

                'title' => 'My page 2',

                'value' => 'http://www.tinymce.com',

            ],

        ],

    ],

]);



Thank`s buddy!

How do I add a image uploader plugin?