custom ckeditor
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.
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']
]) ?>