kotchuprik/yii2-trix
Composer 安装命令:
composer require kotchuprik/yii2-trix
包简介
Basecamp Trix editor for yii2
README 文档
README
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());
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-27