{"id":18762363,"date":"2025-12-19T14:42:18","date_gmt":"2025-12-19T14:42:18","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-html-2\/"},"modified":"2025-12-19T14:43:20","modified_gmt":"2025-12-19T14:43:20","slug":"using-html-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-html-2\/","title":{"rendered":"Using HTML script"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I try to display a 3D model (*.glb) using google&#8217;s model viewer inside a product tab. However, after inserting the code into the text editor, all &lt;script&gt; and &lt;model-viewer&gt; tags and their contents get removed when saving the product. Enabling\/disabling the plugin setting &#8220;Use custom content rendering&#8221; doesn&#8217;t seem to have an effect. The code itself works fine if used in the default product description field or any other page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there a way to enable using scripts or the google model viewer inside tabs or is there another way to display 3D models inside a tab?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you for your help.<\/p>\n","protected":false},"template":"","class_list":["post-18762363","topic","type-topic","status-publish","hentry","topic-tag-script"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18762363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18762363\/revisions"}],"predecessor-version":[{"id":18762365,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18762363\/revisions\/18762365"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18762363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}