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