CL编辑器-语法突出显示-PHP
我想在我的网站中包括PHP脚本。我习惯于发布内容。有人能帮我在CL编辑器中启用语法吗CL编辑器-语法突出显示-PHP,php,syntax-highlighting,cleditor,Php,Syntax Highlighting,Cleditor,我想在我的网站中包括PHP脚本。我习惯于发布内容。有人能帮我在CL编辑器中启用语法吗 在protected/extensions/中提取CLEditor后,感谢您这是创建它的脚本: <?php $this->widget('Application.extensions.cleditor.ECLEditor',array( 'model'=>$model, 'attribute'=&g
在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
)); ?>
试试看:)看起来CL编辑器提供的功能与您希望实现的功能不太接近。