Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fcaldarelli/yii2-ckeditor
Yii2 CKEditor
https://github.com/fcaldarelli/yii2-ckeditor
ckeditor yii2
Last synced: about 2 months ago
JSON representation
Yii2 CKEditor
- Host: GitHub
- URL: https://github.com/fcaldarelli/yii2-ckeditor
- Owner: fcaldarelli
- License: mit
- Created: 2018-02-16T10:42:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T10:36:48.000Z (2 months ago)
- Last Synced: 2024-10-28T13:56:25.077Z (2 months ago)
- Topics: ckeditor, yii2
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Yii2 CKEditor
=============
Yii2 CKEditorInstallation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist fabriziocaldarelli/yii2-ckeditor "*"
```or add
```
"fabriziocaldarelli/yii2-ckeditor": "*"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :
```php
= $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