dev-master
9999999-dev https://github.com/sanchezzzhak/kak-aceeditorace editor widget for yii2
MIT
The Requires
- php >=5.4.0
- yiisoft/yii2-imagine *
- bower-asset/ace-builds ^1.2.3
by Tutik Alexsandr
yii2 widget aceeditor aceeditor for yii2
ace editor widget for yii2
AceEditor widgets for Yii2, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist kak/aceeditor "dev-master"
or add, (*4)
"kak/aceeditor": "dev-master"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?php echo yii\helpers\Html::activeLabel($model,'html_wrap'); echo \kak\widgets\aceeditor\AceEditor::widget([ // You can either use it for model attribute 'model' => $model, 'attribute' => 'html_wrap', 'mode'=>'html', // programing language mode. Default "html" 'theme'=>'github' // editor theme. Default "github" ]); ?>
ace editor widget for yii2
MIT
yii2 widget aceeditor aceeditor for yii2