2017 © Pedro Peláez
 

yii2-extension yii2-trix

Basecamp Trix editor for yii2

image

kotchuprik/yii2-trix

Basecamp Trix editor for yii2

  • Sunday, December 27, 2015
  • by kotchuprik
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Basecamp Trix Widget for yii2

Basecamp Trix Widget for yii2 is a wrapper for trix text editor., (*1)

Usage

Once the extension is installed, simply use it in your code:, (*2)

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());

The Versions

27/12 2015

dev-master

9999999-dev

Basecamp Trix editor for yii2

  Sources   Download

MIT

The Requires

 

extension yii2 widget editor wysiwyg redactor trix