Problem to input custom HTML with schema and JavaScript to individual page

Hi There,
I’m new on ModX. I’ve created a template variable to input custom HTML into my page. I choose Rich Text as input type for this template variable.

On the other hand, my HTML contains some meta tag like <meta itemprop="name" content="myname"> tag with schema ( some custom attributes like <div class="review" itemprop="review" itemscope="" itemtype=""> )

So when I submit this data into page through template variable, I don’t see that meta tag and custom attributes like itemprop, itemscope or script tag. They are removed or ignored by the editor.

Can someone tell me that how can I get rid from these issue? I will be great full for the help. Thanks.

don’t use a richtext - editor for parts, where you need to input HTML

Thanks for you reply. I need to insert my HTML inside the body

The HTML for Meta tags normally go in the head section of a Template, but they can contain TV tags or Resource field tags inside the HTML, like this:

<meta name="keywords" content="[[*KeyWordsTV]]" />
<meta name="description" content="[[*description]]" />

then, you will probably need another TV with textarea inputtype.
maybe, we could make better suggestions, if we would know more about the usecase of your meta tags