eluhr / yii2-aceeditor
Yii2 wrapper for ace editor
Installs: 33 087
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- bower-asset/ace-builds: ^1.4
- yiisoft/yii2: ^2.0
README
Installation
composer require eluhr/yii2-aceeditor
Usuage
without a model
<?= AceEditor::widget([ 'name' => 'editor' ]); ?>
with a model
<?= AceEditor::widget([ 'model' => $model, 'attribute' => 'attribute_name' ]); ?>
Configuration
For informations about configuration please read documents of widget