stkevich/yii2-ckeditor5
Composer 安装命令:
composer require stkevich/yii2-ckeditor5
包简介
ckeditor 5 widget for yii2 framework
README 文档
README
More details about it on site https://docs.ckeditor.com/ckeditor5/latest/builds/
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist stkevich/yii2-ckeditor5 "*"
or add
"stkevich/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 \stkevich\ckeditor5\EditorClassic; ... $form->field($model, 'fieldName')->widget(EditorClassic::className(), []);
You can edit toolbar or uploadUrl:
$form->field($model, 'fieldName')->widget(EditorClassic::className(), [ 'toolbar' => ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote'], 'uploadUrl' => '/someUpload.php', ] );
More info in guides
统计信息
- 总下载量: 8.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-25