edofre/yii2-ckeditor
Composer 安装命令:
composer require edofre/yii2-ckeditor
包简介
Yii2 widget for ckeditor
关键字:
README 文档
README
Installation
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require edofre/yii2-ckeditor "V1.0.2"
or add
"edofre/yii2-ckeditor": "V1.0.2"
to the require section of your composer.json file.
Usage
ActiveForm usage with a model
<?= $form->field($model, 'body')->widget(\edofre\ckeditor\CKEditor::className(), [ 'editorOptions' => [ 'language' => 'nl', ], ]) ?>
Usage without model
<?= \edofre\ckeditor\CKEditor::widget([ 'name' => 'content', 'editorOptions' => [ 'height' => '400px', ], ]) ?>
统计信息
- 总下载量: 395
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-07