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

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

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

webschool/yii2-ckeditor

Composer 安装命令:

composer require webschool/yii2-ckeditor

包简介

Yii2 CKEditor

README 文档

README

CKEditor — a free WYSIWYG editor that can be used on web pages.

Installation

The easiest way to install this extension is via [composer] (http://getcomposer.org/download/).

Either run

composer require webschool/yii2-ckeditor

or add

"webschool/yii2-ckeditor": "^1.*"

in the require section of your composer.json file.

Using

use webschool\ckeditor\CKEditor;
use yii\helpers\Html;

CKEditor::widget([
    'editorOptions' => [
        'preset' => 'full', // basic, standard, full
    ]
]);

//или c ActiveForm

echo $form->field($model, 'content')->widget(CKEditor::className(),[
    'editorOptions' => [
        'preset' => 'full', // basic, standard, full
    ],
]);

Configuring CkFinder

If you are using the yii2 advanced package:

In order to use your settings, copy the file "vendor/webschool/yii2-ckeditor/editor/plugins/ckfinder/config.php" to "backend/config/ckfinder/config.php". In "backend/config/ckfinder/config.php", remove all references to the variable "localConfig".

Useful links

CKEditor Api - http://docs.ckeditor.com/

CKEditor Примеры - http://nightly.ckeditor.com/

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-04-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固