Hi,
I want to create a new document type with a html property to store a div element like this without any more markup:
If I use the Html simple field in the document type editor it will be saved as a string and will be rendered as text also if i use the hst:html tag with formattedText in the freemarker template.
If I use the richText compound field, I can add the div in the source code view but if I save the document and reopen it to edit again I can’t see the div entry in the property. Neither in the text nor in the source code view but I can see the div in the rendered page.
I’ve added the div node to the formattedText and richText node in the htmlprocessor configuration.
How is it possible to use the html simple field to store the div element and render it as HTML or is it possible to see the saved html property in the source code view if I want to edit the document?
Best regards
Philipp