apollo/yii2-tinymce

TinyMce for yii2 textarea

dev-master 2014-06-12 08:02 UTC

This package is not auto-updated.

Last update: 2024-11-19 05:18:47 UTC


README

#TinyMce widget for yii2 Usage

 <?=
    $form->field($model, 'message')->widget(\Apollo\TinyMceField::className(), ['options' => ['rows' => 6],

        'clientOptions' => [

            'selector' => 'textarea',
            'theme' => "modern",
            'plugins' => ["advlist autolink lists link image charmap print preview hr anchor pagebreak",
                "searchreplace wordcount visualblocks visualchars code fullscreen",
                "insertdatetime media nonbreaking save table contextmenu directionality",
                "emoticons template paste textcolor"],


        ],

    ]);

    ?>