定制 mhayajneh/yii2-ckeditor5-word 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-01