eluhr/yii2-aceeditor

Yii2 wrapper for ace editor

0.0.6 2019-03-29 07:52 UTC

This package is auto-updated.

Last update: 2024-12-08 02:32:22 UTC


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