2017 © Pedro Peláez
 

yii2-extension yii2-ckeditor

CKEditor widget for Yii2 Framework

image

itstructure/yii2-ckeditor

CKEditor widget for Yii2 Framework

  • Saturday, May 12, 2018
  • by itstructure
  • Repository
  • 0 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 33 % Grown

The README.md

Yii2 CKEditor widget

Introduction

Latest Stable Version Latest Unstable Version License Total Downloads Build Status Scrutinizer Code Quality, (*1)

This is a CKEditor widget for the Yii2 framework with CKEditor template., (*2)

Dependencies

  • php >= 7.1
  • composer

Installation

Via composer:, (*3)

composer require itstructure/yii2-ckeditor ~1.1.6, (*4)

or in section require of composer.json file set the following:, (*5)

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

and command composer install, if you install yii2 project extensions first,, (*6)

or command composer update, if all yii2 project extensions are already installed., (*7)

Usage

Example of using in application with an active model and ckfinder:, (*8)

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:, (*9)

  • basic
  • full
  • standard

License

Copyright © 2018-2023 Andrey Girnik girnikandrey@gmail.com., (*10)

Licensed under the MIT license. See LICENSE.txt for details., (*11)

The Versions

12/05 2018

dev-master

9999999-dev

CKEditor widget for Yii2 Framework

  Sources   Download

MIT

The Requires

 

yii2 yii 2 ckeditor

12/05 2018

1.1.0

1.1.0.0

CKEditor widget for Yii2 Framework

  Sources   Download

MIT

The Requires

 

yii2 yii 2 ckeditor

17/03 2018

1.0.1

1.0.1.0

CKEditor widget for Yii2 Framework

  Sources   Download

MIT

The Requires

 

yii2 yii 2 ckeditor

12/02 2018

dev-dev

dev-dev

CKEditor widget for Yii2 Framework

  Sources   Download

MIT

The Requires

 

yii2 yii 2 ckeditor

04/02 2018

1.0.0

1.0.0.0

CKEditor widget for Yii2 Framework

  Sources   Download

MIT

The Requires

 

yii2 yii 2 ckeditor