Skip to content

madand/yii2-ckeditor-kcfinder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CKEditor + KCFinder for Yii 2

WYSIWYG text editor widget with integrated file browser.

This fork is not supported! And is not exported to Packagist. If you still wish to add it to your project, read the following section.

Installation

The preferred way to install this extension is through composer.

Add this repository to your project's composer.json:

"repositories": [
  {
    "type": "vcs",
    "url": "https://github.com/MadAnd/yii2-ckeditor-kcfinder"
  }
],

If your composer.json has stability option set to stable (this is a default value, if not set explicitly), run the following command:

php composer.phar require --prefer-dist "MadAnd/yii2-ckeditor-kcfinder:dev-master" \
    "ckeditor/ckeditor:@dev" "sunhater/kcfinder:@dev"

If your composer.json has stability option set to dev, the following command is sufficient:

php composer.phar require --prefer-dist "MadAnd/yii2-ckeditor-kcfinder:*"

Usage

\MadAnd\ckeditor\CKEditor::widget();

Possible settings (with default values)

  'type' => CKEditor::TYPE_STANDARD,
  'height'=>'200px',
  'language'=>Yii::$app->language,

About

CKEditor + KCFinder for Yii 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%