I have installed CKEditor widget from yii2-ckeditor-widget using composer. Install was successful, there was no error.
Here is my view file:
use dosamigos\ckeditor\CKEditor;
.....
<?php echo $form->field($model, 'content')->widget(CKEditor::className(), [
'options' => ['rows' => 6],
'preset' => 'basic'
]) ?>
when I see in browser, there is nothing in the place of CKEditor in the form. I checked console message in firebug I found this.
while without CKEditor it is working fine
<?php echo $form->field($model, 'content')->textarea(['rows'=>6]) ?>
Am I missing something?
EDIT: I posted this as an issue on github and here is what I got:
It seems that your issue is related to the assets registration.
I do not know what is the issue with asset registration? Any suggestion?
There was problem with asset registration. I Kdiff
current asset directory with another projects asset directory. And there was files missing I copied them in current project and now its running fine.