【发布时间】:2012-04-21 07:58:27
【问题描述】:
我想在编辑器中填充值。
通常我们使用$oFCKeditor->Value来显示内容。
对于 Yii fck 扩展的参数是什么?
$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',),
在编辑器中显示值的参数是什么?
【问题讨论】:
标签: php frameworks yii