sangroya/yii2-ckeditor5
最新稳定版本:0.1.1
Composer 安装命令:
composer require sangroya/yii2-ckeditor5
包简介
CKEditor for Yii
README 文档
README
CKEditor for Yii with static build (https://docs.ckeditor.com/ckeditor5/latest/builds/)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sangroya/yii2-ckeditor5 "*"
or add
"sangroya/yii2-ckeditor5": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
use sangroya\ckeditor5\CKEditor; <?= $form->field($model, 'text')->widget(CKEditor::className(), [ 'options' => ['rows' => 6], ]) ?>``` Upload Url ----- ```php use sangroya\ckeditor5\CKEditor; <?= $form->field($model, 'text')->widget(CKEditor::className(), [ 'options' => ['rows' => 6], 'uploadUrl' => 'site/upload', //this will be the url where you want to ckeditor send the post request with file data ]) ?>```
统计信息
- 总下载量: 7.51k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-25