Renders a KindEditor WYSIWYG HTML editor plugin widget.
The preferred way to install this extension is through composer.
Either run
composer require heyanlong/yii2-kindeditor:~1.0
or add
"heyanlong/yii2-kindeditor" : "~1.0"
to the require section of your application's composer.json
file.
use heyanlong\kindeditor\KindEditor;
<?= $form->field($model, 'text')->widget(KindEditor::className()) ?>
or
use heyanlong\kindeditor\KindEditor;
<?= KindEditor::widget() ?>
The BSD License (BSD). Please see License File for more information.