You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
398 B

<?php
namespace backend\bootstrap;
use mihaildev\ckeditor\CKEditor;
use mihaildev\elfinder\ElFinder;
use yii\base\BootstrapInterface;
class SetUp implements BootstrapInterface
{
public function bootstrap($app)
{
$container = \Yii::$container;
$container->set(CKEditor::class, [
'editorOptions' => ElFinder::ckeditorOptions('elfinder', []),
]);
}
}