Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 430 Bytes

ckeditor.md

File metadata and controls

19 lines (16 loc) · 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 */]),
]);