Yii2 Ace Editor Widget

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