HTML5 Data Bindings Formatter Support Product Page

Answered

How do I format HTML content?

Asked 07 Oct 2013 13:20:38
1
has this question
07 Oct 2013 13:20:38 Andre Bender posted:
I've got database content that has HTML code in it. The result is that I receive for example "<p></p>" code on the page.

Is the a filter to convert this into proper data on the page?

Replies

Replied 08 Oct 2013 06:54:02
08 Oct 2013 06:54:02 Miroslav Zografski replied:
Hello Andre,

when binding the HTML returning field in your code select the container where the field will go to and in the binding options in Data Binding panel you should select tagName.html option.

Regards.
Replied 08 Oct 2013 07:39:28
08 Oct 2013 07:39:28 Andre Bender replied:
Ah I see, missed that one. Thanks, works perfect!
Replied 08 Oct 2015 15:15:17
08 Oct 2015 15:15:17 David Woolley replied:
Revisiting this issue:
Dreamweaver CS6 design view does not show the data binding if the Html option is selected.
For example code view shows:
<div data-binding-html="{{Comment}}"></div>

I would expect design view to show as:
{{Comment.html()}} or something to this effect. Nothing is displayed though.

Apart from this, fields with HTML content are formatted correctly on the web page.

Reply to this topic