在protected/extensions/中提取 CLEditor 后,这是创建它的脚本:
<?php $this->widget('Application.extensions.cleditor.ECLEditor',array(
'model'=>$model,
'attribute'=>'isi',
'options'=>array(
'width'=>'700',
'height'=>250,
'useCSS'=>true,
),
'value'=>$model->artikel
)); ?>
试试看 :)