This question is locked. New answers and comments are not allowed.
Hi, was wondering if anyone else has ran into this or knows of a solution. My db holds content as <img src="foobar"> and when I retrieve it and place as value in editor, 100% it does escape it properly so I can actually see the html without it rendering as html. There are anomalies in this experience when the data, even though escaped, still continues to render as html. I'm trying to always just get the content of this field to be straight up html code but to never have it rendered.
Here is a snippet of the HTML source showing that the Textarea that does get generated is escaped properly. This example renders as HTML where i want it to be just like we see it.
<textarea class="t-content t-raw-content" cols="20" id="ImageTableContent-value" name="ImageTableContent" rows="5" title="ImageTableContent"><ul class="img-block"><li><div class="item"><img alt="" src="../../content/images/MIL_PBA_chart_1.png" /></div>&......
See image telerik_editor_bad.jpg
Here is a snippet of the HTML source that does show the intended experience, where it does not render as HTML
textarea class="t-content t-raw-content" cols="20" id="ImageTableContent-value" name="ImageTableContent" rows="5" title="ImageTableContent"><ul class="img-block"><li><div class="item">
<img src="../../content/images/MIL_PBA_chart_2.png" alt="" />.....
See image telerik_editor_good.jpg
Thanks for help and any insights in advance!
Jonathan
Here is a snippet of the HTML source showing that the Textarea that does get generated is escaped properly. This example renders as HTML where i want it to be just like we see it.
<textarea class="t-content t-raw-content" cols="20" id="ImageTableContent-value" name="ImageTableContent" rows="5" title="ImageTableContent"><ul class="img-block"><li><div class="item"><img alt="" src="../../content/images/MIL_PBA_chart_1.png" /></div>&......
See image telerik_editor_bad.jpg
Here is a snippet of the HTML source that does show the intended experience, where it does not render as HTML
textarea class="t-content t-raw-content" cols="20" id="ImageTableContent-value" name="ImageTableContent" rows="5" title="ImageTableContent"><ul class="img-block"><li><div class="item">
<img src="../../content/images/MIL_PBA_chart_2.png" alt="" />.....
See image telerik_editor_good.jpg
Thanks for help and any insights in advance!
Jonathan