0
저는 yii 프레임 워크를 사용하고 있습니다. 나는 형식의 fck 편집기를 가지고 있습니다. 재설정 버튼을 클릭하면 양식의 모든 필드가 비어 있지만 편집기가 표시되지 않습니다. fck 편집기의 코드입니다.재설정 fck 편집기 값 yii
$this->widget('application.extensions.fckeditor.FCKEditorWidget',array(
"model"=>$model, # Data-Model
"attribute"=>'content', # Attribute in the Data-Model
"height"=>'400px',
"width"=>'100%',
"fckeditor"=>Yii::app()->basePath."/../fckeditor/fckeditor.php",
# Path to fckeditor.php
"fckBasePath"=>Yii::app()->baseUrl."/fckeditor/",
# Relative Path to the Editor (from Web-Root)
"config" => array("EditorAreaCSS"=>Yii::app()->baseUrl.'/css/index.css',),
# Additional Parameters
어떻게 할 수 있습니까?
이게 yii 문제는 아니지만 fckeditor 인 것 같습니다. 아마도 쿠키에 설정이 저장되어 있습니까? – llamerr