The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist hustshenl/yii2-ueditor "*"
or add
"hustshenl/yii2-ueditor": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?php
use hustshenl\ueditor\Ueditor;
echo Ueditor::widget(['id'=>"newstext"]);
?>
更多详情或者批评指正: qq => 1510033691 email => liucunzhou@163.com