itstructure/yii2-ckeditor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

itstructure/yii2-ckeditor

最新稳定版本:1.1.7

Composer 安装命令:

composer require itstructure/yii2-ckeditor

包简介

CKEditor widget for Yii2 Framework

README 文档

README

Introduction

Latest Stable Version Latest Unstable Version License Total Downloads Build Status Scrutinizer Code Quality

This is a CKEditor widget for the Yii2 v2.0.x framework with CKEditor template.

Dependencies

  • php >= 7.1
  • composer

Installation

Via composer:

composer require itstructure/yii2-ckeditor ~1.1.7

or in section require of composer.json file set the following:

"require": { "itstructure/yii2-ckeditor": "~1.1.7" }

and command composer install, if you install yii2 project extensions first,

or command composer update, if all yii2 project extensions are already installed.

Usage

Example of using in application with an active model and ckfinder:

echo $this->form->field($this->model, $this->getFieldName()) ->widget( CKEditor::className(), [ 'preset' => 'custom', 'clientOptions' => [ 'toolbarGroups' => [ [ 'name' => 'undo' ], [ 'name' => 'basicstyles', 'groups' => ['basicstyles', 'cleanup'] ], [ 'name' => 'colors' ], [ 'name' => 'links', 'groups' => ['links', 'insert'] ], [ 'name' => 'others', 'groups' => ['others', 'about'] ], ], 'filebrowserBrowseUrl' => '/ckfinder/ckfinder.html', 'filebrowserImageBrowseUrl' => '/ckfinder/ckfinder.html?type=Images', 'filebrowserUploadUrl' => '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', 'filebrowserImageUploadUrl' => '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', 'filebrowserWindowWidth' => '1000', 'filebrowserWindowHeight' => '700', 'allowedContent' => true, 'language' => 'en', ] ] );

preset option can be:

  • basic
  • full
  • standard

License

Copyright © 2018-2025 Andrey Girnik girnikandrey@gmail.com.

Licensed under the MIT license. See LICENSE.txt for details.

统计信息

  • 总下载量: 20.25k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固