The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require edofre/yii2-ckeditor "V1.0.2"
or add
"edofre/yii2-ckeditor": "V1.0.2"
to the require
section of your composer.json
file.
<?= $form->field($model, 'body')->widget(\edofre\ckeditor\CKEditor::className(), [
'editorOptions' => [
'language' => 'nl',
],
]) ?>
<?= \edofre\ckeditor\CKEditor::widget([
'name' => 'content',
'editorOptions' => [
'height' => '400px',
],
]) ?>
yii2-ckeditor
Date: 07-Jan-2018
Date: 24-Dec-2016
Date: 07-Jun-2016
Comments