HTML5 Data Bindings Formatter Support Product Page
Answered
How do I format HTML content?
Asked 11 years ago
1
has this question
11 years ago 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 11 years ago
11 years ago 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.
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 11 years ago
11 years ago Andre Bender replied:
Ah I see, missed that one. Thanks, works perfect!
Replied 9 years ago
9 years ago 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:
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.
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.