Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 430 Bytes

CKEditor integration


I.e. with 2amigos/yii2-ckeditor-widget

In your view

use dosamigos\ckeditor\CKEditor;
use nickdenry\ckeditorRoxyFileman\RoxyFileManager;

And then

$form->field($model, 'body')->widget(CKEditor::className(), [
    'preset' => 'full',
    'clientOptions' => RoxyFileManager::attach([/* another ckeditor options */]),
You can’t perform that action at this time.