When using the
FCKeditor plugin for Grails, if the data is loaded into the view this way:
<fckeditor:editor name="detail">
${fieldValue(bean:itemInstance,field:'detail')}
</fckeditor:editor>
The raw html being retrieved from the data source will not be parsed as expected. This will display as html source in the editor, and if saved will result in the html tags being placed into the data source as escaped text. For correct handling, add
.decodeHTML()
to the JSTL retrieval:
<fckeditor:editor name="detail">
${fieldValue(bean:itemInstance,field:'detail').decodeHTML()}
</fckeditor:editor>