Yii2 Ace Editor Widget
composer require eluhr/yii2-aceeditor
without a model
<?= AceEditor::widget([
'name' => 'editor'
]); ?>
with a model
<?= AceEditor::widget([
'model' => $model,
'attribute' => 'attribute_name'
]); ?>
For informations about configuration please read documents of widget