kotchuprik/yii2-trix 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-27