private function registerToView()
    {
        $view = $this->getView();
        $id = \yii\helpers\Json::encode($this->options['id']);
        $editor_options = \yii\helpers\Json::encode($this->editorOptions);

        // Register the javascript to replace the $id input with an instance of ckeditor
        $view->registerJs("CKEDITOR.replace({$id}, {$editor_options});");
        CoreAsset::register($view);
    }
private function registerToView()
    {
        $view = $this->getView();
        $id = \yii\helpers\Json::encode($this->options['id']);
        $editor_options = \yii\helpers\Json::encode($this->editorOptions);

        // Register the javascript to replace the $id input with an instance of ckeditor
        $view->registerJs("CKEDITOR.replace({$id}, {$editor_options});");
        CoreAsset::register($view);
    }
private function registerToView ( ) { $ view = $ this -> getView ( ) ; $ id = \ yii \ helpers \ Json :: encode ( $ this -> options [ 'id' ] ) ; $ editor_options = \ yii \ helpers \ Json :: encode ( $ this -> editorOptions ) ; // Register the javascript to replace the $id input with an instance of ckeditor $ view -> registerJs ( "CKEDITOR.replace({$id}, {$editor_options});" ) ; CoreAsset :: register ( $ view ) ; }
Register the ckeditor files to the view
Register the ckeditor files to the view