unimodern / yii2-ckeditor
Yii2 widget for ckeditor
Package info
github.com/unimodern/yii2-ckeditor
Type:yii2-extension
pkg:composer/unimodern/yii2-ckeditor
V2.0.2
2016-06-20 15:01 UTC
Requires
- php: >=5.5.0
- ckeditor/ckeditor: *
- yiisoft/yii2: *
- yiisoft/yii2-jui: *
This package is not auto-updated.
Last update: 2026-03-05 02:54:11 UTC
README
Disclaimer
This is forked from Edofre/yii2-ckeditor to release as stable
Installation
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require unimodern/yii2-ckeditor "@dev"
or add
"unimodern/yii2-ckeditor": "@dev"
to the require section of your composer.json file.
Usage
ActiveForm usage with a model
<?= $form->field($model, 'body')->widget(\unimodern\ckeditor\CKEditor::className(), [ 'editorOptions' => [ 'language' => 'nl', ], ]) ?>
Usage without model
<?= \unimodern\ckeditor\CKEditor::widget([ 'name' => 'content', 'editorOptions' => [ 'height' => '400px', ], ]) ?>