Replies: 3 comments 5 replies
-
Hey eoehan That is a very good question, and actually something that has slipped through the net in conversion to using html. I tried a few things, but the best seems to be falling back to the old components. I have an example below using the component qualified namespace declaration at the top and then the qualified PlaceHolder within the content. This should work.
If it doesn't work for you then you can follow the example of adding content dynamically in code from the example here. (Next job is to definitely update the documentation on all of it). I would love to hear how you think it would be best to add to the xhtml?
Would love your feedback on this. Richard |
Beta Was this translation helpful? Give feedback.
-
Dear Richard Thank you for your answer. This variant is empty in rendered pdf:
This suggestion don't work for me, because I am within an enumeration of models and each model has html content. I like your suggestion:
Thank you for your feedback. |
Beta Was this translation helpful? Give feedback.
-
@eoehen - I have pushed the Binding-raw-html branch which should support the use of the following attributes on any visual component (Page, Div, Span, etc).
For example
I would really appreciate your feedback on this, check it works for you, and then I can merge with the main branch and add to the next release. Thanks in advance. :-) |
Beta Was this translation helpful? Give feedback.
-
I'm not sure, but i didn't found a solution in the documentation.
Is there a solution to bind html from data object?
The normal model content binding is not working:
<div>{@:Model.HtmlContent}</div>
The content of
Model.HtmlContent
could be:Thank you for hint's or feedback.
Beta Was this translation helpful? Give feedback.
All reactions