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 2012-04-28 16:02:11