franciscomaya/yii2-sceditor
Composer 安装命令:
composer require franciscomaya/yii2-sceditor
包简介
SCEditor, a lightweight WYSIWYG BBCode & HTML editor extension for Yii 2.0 Framework
README 文档
README
SCEditor, a lightweight WYSIWYG BBCode & HTML editor extension for Yii 2.0 Framework
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require franciscomaya/yii2-sceditor:dev-master
or add
"franciscomaya/yii2-sceditor" : "dev-master"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
use franciscomaya\sceditor\SCEditor; <?= $form->field($model, 'text')->widget(SCEditor::className(), [ 'options' => ['rows' => 6], 'clientOptions' => [ 'plugins' => 'bbcode', ] ]) ?>
Further Information
Please, check the SCEditor plugin site documentation for further information about its configuration options.
统计信息
- 总下载量: 12.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-09-02