dev-master
9999999-devYii2 CKEditor
MIT
The Requires
- yiisoft/yii2 ~2.0.0
- npm-asset/ckeditor ^4.8
extension yii2 ckeditor
1.0.0
1.0.0.0Yii2 CKEditor
MIT
The Requires
- yiisoft/yii2 ~2.0.0
- npm-asset/ckeditor ^4.8
extension yii2 ckeditor
Yii2 CKEditor
Yii2 CKEditor, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist fabriziocaldarelli/yii2-ckeditor "*"
or add, (*4)
"fabriziocaldarelli/yii2-ckeditor": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?= $form->field($model, 'textField')->widget(\sfmobile\ext\ckeditor\CKEditor::className(), [ 'pluginOptions' => [ 'height' => '500px' ] ]) ?>
Using 'pluginOptions', you can pass all configuration parameters to CKEditor plugin. In the example, I set the height at 500px, (*7)
Yii2 CKEditor
MIT
extension yii2 ckeditor
Yii2 CKEditor
MIT
extension yii2 ckeditor