I am using Rich Text Editor
for the template field for script content, I need to make the entire script editable in Sitecore SXA 10
. The RTE
removes the script content.
The script content is as follows:
<script type="text/javascript" src="https://cdn.cookielaw.org/consent/{{ID}}-test/OtAutoBlock.js" >
</script>
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="{{ID}}-test" >
</script>
<script type="text/javascript">
function OptanonWrapper() { }
</script>
Are there any alternative ways in Sitecore to consider the script content the way it is?