I need help here. I have a system developed with Yii framework. I have the CKEDITOR widget in Yii Booster. When user press the enter key, I want to have 'br'instead of 'p'.
Below is my script:
$this->widget('booster.widgets.TbCKEditor',array(
'model'=>$model,
'attribute'=>'qualifications',
'editorOptions'=>array(
'enterMode'=> 'CKEDITOR.ENTER_BR',
),
) );
However, when I run the script, it still gives me p instead of br. I have been looking for the solution for few days. Can anyone help me with this?