kotchuprik/yii2-trix Basecamp Trix editor for yii2

extensionwidgetwysiwygeditorredactortrix

Basecamp Trix Widget for yii2

Basecamp Trix Widget for yii2 is a wrapper for trix text editor.

Usage

Once the extension is installed, simply use it in your code:

Like a widget without model

echo \kotchuprik\trix\Widget::widget();

Like a widget

echo \kotchuprik\trix\Widget::widget([
    'model' => $model,
    'attribute' => 'attributeModel',
]);

Like a ActiveForm widget

use \kotchuprik\trix\Widget;

echo $form->field($model, 'attributeModel')->widget(Widget::className());

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
2 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
27 total downloads