Rich text fields can have custom code embedded in them (<> symbol). See the University. You basically are using it as a container to hold code since Webflow will not encode the contents. It is a workaround that works.
Thank you. I understand it can contain a code, but I don’t understand, how can I add this rich text field to the page template custom code with the +Add Field. This function doesn’t show rich-text fields. Or I shouldn’t add it there, and I can add a hidden rich-text element with this field somewhere in the body with the page designer?
I am trying to the same thing with schema.org customisation in collection settings. When I want to tie schema.org description with my custom rich text field Description by clicking +Add Field, it won’t display my rich text field in the dropdown of the the +AddField. Any work around for this, or maybe provide an answer with some steps I need to follow/do/implement?
I may be mistaken but this doesn’t seem to address the original problem. For example, you cannot add a list of quoted items, e.g. a list of ingredients in a recipe would require a different field for each ingredient and can’t possibly be done dynamically since recipes don’t have the same numbers of ingredients. In OctoberCMS you can just do |raw on a field to get it to provide the actual field data without stripping characters. Not sure why there isn’t an equivalent here.
That’s not what OP was looking for.
If you want to generate structured data containing array content then Microdata or RDFa are much better choices in Webflow.