artkost/yii2-trumbowyg
最新稳定版本:2.18.0
Composer 安装命令:
composer require artkost/yii2-trumbowyg
包简介
The Trumbowyg WYSIWYG Editor widget for yii2 framework
README 文档
README
Wrapper for Trumbowyg WYSIWYG.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist artkost/yii2-trumbowyg "@stable"
or add
"artkost/yii2-trumbowyg": "@stable"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code:
Use as widget
echo \artkost\yii2\trumbowyg\Trumbowyg::widget([ 'name' => 'myname', 'settings' => [ 'lang' => 'ru' ] ]);
Use as ActiveForm widget
use artkost\yii2\trumbowyg\Trumbowyg; echo $form->field($model, 'content')->widget(Trumbowyg::className(), [ 'settings' => [ 'lang' => 'ru' ] ]);
统计信息
- 总下载量: 17.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-05