Make CKEditor field respect your EE tags
Just noticed an issue when using the CKEditor field type where EE tags are not converted.
How to fix:
1. Open the expressionengine/third_party/bbr_ckeditor/ft.bbr_ckeditor.php file
2. Find this function on line 432
public function replace_tag($data, $params = array(), $tagdata = FALSE){
return $data;
}
3. Replace that with this:
public function replace_tag($data, $params = array(), $tagdata = FALSE){
//Borrowed from the text area fieldtype
return $this->EE->typography->parse_type(
$this->EE->functions->encode_ee_tags($data),
array(
'text_format' => $this->row['field_ft_'.$this->field_id],
'html_format' => $this->row['channel_html_formatting'],
'auto_links' => $this->row['channel_auto_link_urls'],
'allow_img_url' => $this->row['channel_allow_img_urls']
)
);
}


