Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using umbraco version 4.9.0 and trying to add video javascript code and when it saves it will add CDATA tag in HTML source. It is adding this HTML source multiple times so video doesn't show in frontend.
We are adding below script in RTE :
<script type="text/javascript" src="/test.js"></script> <script type="text/javascript"> KV.widget({ "guid": "FrIjfhvo316", "type": "featured", "hideEmbedButton": true, "hideDownloadButton": true, "width": 550 }); </script>
After saving this content RTE each time CDATA will be appended, so it will look like as below :
<script type="text/javascript" src="/test.js"></script> <script type="text/javascript">// <![CDATA[ CDATAOPENTAG--> CDATAOPENTAG--> CDATAOPENTAG--> KV.widget({ "guid": "FrIjfhvo316", "type": "featured", "hideEmbedButton": true, "hideDownloadButton": true, "width": 550 }); // <!--CDATACLOSETAG // <!--CDATACLOSETAG // <!--CDATACLOSETAG // <!--CDATACLOSETAG // ]]></script>
Please advise
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Rich text editor add CDATA when adding javascript
I am using umbraco version 4.9.0 and trying to add video javascript code and when it saves it will add CDATA tag in HTML source. It is adding this HTML source multiple times so video doesn't show in frontend.
We are adding below script in RTE :
After saving this content RTE each time CDATA will be appended, so it will look like as below :
Please advise
is working on a reply...