How To Save Html Markup Generated By Editme Extension


I’m very new to Yii, and have just been experimenting a bit. So, this may be a rookie question.

I took an activeform that was generated by Gii and modified it a bit, changing one of my fields from a standard textArea box to attempt to use the editMe Wysiwyg extension. It works, as far as saving the content that I type into the editme editor, but it doesn’t save the HTML markup. It merely saves the raw text. How do I tell it that I want the HTML markup included?

<div class="row">

<?php echo $form->labelEx($model,‘contents’); ?>

<?php $this->widget(‘application.components.widgets.editMe.widgets.ExtEditMe’, array(






<?php echo $form->error($model,‘contents’); ?>


<div class="row buttons">

<?php echo CHtml::submitButton(‘Submit’, array(‘onclick’=>‘CKupdate();$("#article-form").ajaxSubmit();’ )); ?>


I appreciate any info that someone can provide.



For anyone else that might have run into this problem, it was a rookie mistake. I inadvertently had a "strip tags" filter on the field that I was trying to enter with the Wysiwyg editor. Removing this filter makes it work as expected.