attributes["id"], '"'; if(!empty($this->basic)) echo ', { toolbar: "Basic" }'; echo ');'; $ajax = $this->form->getAjax(); $id = $this->form->getID(); if(!empty($ajax)) { echo <<attributes["id"]}"].updateElement(); }); JS; } } function getJSFiles() { return array( $this->form->getResourcesPath() . "/ckeditor/ckeditor.js" ); } }