Skip to content
Permalink
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

Example

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.