Create a Rich Text Editor Using the HTML Component

The code above works, the text in #myHtmlComponent is being formatted as per the H1, H2, H3 etc. styles from my website’s style theme. When I click the “Submit Text” button that is part of the #myHtmlComponent field, the content is being copied into the #myText (paragraph text) field correctly.

My problem is when I click the main form “Submit” button the #myText (paragraph text) field content is not being copied into the “eventDescription” (richText field) in my “Events” collection.

All the other fields in the collection get populated from the form and I do not receive an error message.

Can anyone help me out?

Many thanks!
Sylvia