mhayajneh/yii2-ckeditor5-word
最新稳定版本:0.1
Composer 安装命令:
composer require mhayajneh/yii2-ckeditor5-word
包简介
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 mhayajneh/yii2-ckeditor5-word "*"
or add
"mhayajneh/yii2-ckeditor5-word": "*"
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 ]) ?>```
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-01