Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 593 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 593 Bytes

CKEditor for Yii 2

Text editor

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist webvimark/ckeditor "*"

or add

"webvimark/ckeditor": "*"

to the require section of your composer.json file.

Usage

\webvimark\extensions\ckeditor\CKEditor::widget();

Possible settings (with default values)

'type' => CKEditor::TYPE_STANDARD,

'height'=>'200px',

'language'=>Yii::$app->language,