skarbnica/yii2-ckeditor-widget

custom ckeditor

Installs: 122

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/skarbnica/yii2-ckeditor-widget

0.1.9 2018-11-05 07:09 UTC

This package is auto-updated.

Last update: 2025-10-05 23:17:41 UTC


README

custom ckeditor

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skarbnica/yii2-ckeditor-widget "*"

or add

"skarbnica/yii2-ckeditor-widget": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?=$form->field($model, "attribute")->widget(\skarbnica\ckeditor\CKEditor::class, [
        'options' => ['class' => 'ckeditor'],
        'clientOptions' => ['filebrowserUploadUrl' => '/url/to/upload']
    ]) ?>