How to add Javascript in a field?
-
Hi,
I’m trying to add a field that includes <script>, I’m using textarea type.
This is how the script start (it is rich schema snippet):
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "HowTo",
When Saving the post (the field is for posts), the “<script>” tag is removed so the field is not valid.
Appreciate your help.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add Javascript in a field?’ is closed to new replies.