The preferred way to install this extension is through composer.
Either run
php composer.phar require "jaslin/yii2-kindeditor" "dev-master"
or add
"jaslin/yii2-kindeditor": "dev-master"
to the require section of your application's composer.json
file.
'modules'=>[
'upload' => [
'class' => 'jaslin\kindeditor\Module',
],
]
echo $form->field($model, 'content')->widget(jaslin\kindeditor\KindEditor::className(), ['options' => [],'configs' => []]);
## configs http://kindeditor.net/docs/option.html
jaslin\kindeditor\LightAsset::register($this);