baidu ueditor for yii2 framework
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist rogeecn/yii2-ueditor "*"
or add
"rogeecn/yii2-ueditor": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
//use mini editor
<?= $form->field($model, 'name')->widget(UEditor\Mini::className());?>
//use full feature editor
<?= $form->field($model, 'name')->widget(UEditor\Mini::className());?>