November Happy Hour will be moved to Thursday December 5th.

Issue when embedding a widget on the Episerver 6

Vote:
 

Hi,

We have an issue on a new page that we’ve published (https://www.nfumutual.co.uk/personal/insurance/guidance-and-tools/Insurance-articles/home-articles/weather/).

On the right hand side of the page we’re trying to display the Met office weather warning widget. The code for the widget from the met office website is:

http://www.metoffice.gov.uk/public/weather/warnings/">Weather warnings>

http://www.metoffice.gov.uk/public/weather/warnings" target="_blank">Weather warnings generated by the http://www.metoffice.gov.uk/public/weather/components'>Met Office Weather Widget

Once we paste the code into the html editor on the composer block, it adds a //[![CDATA]]// tag around the part of the widget and stops it from displaying:

http://www.metoffice.gov.uk/public/weather/warnings/">Weather warnings

http://www.metoffice.gov.uk/public/weather/warnings" target="_blank">Weather warnings generated by the http://www.metoffice.gov.uk/public/weather/components">Met Office Weather Widget

Why is this happening and what can we do to get this showing?

Thank you,
Suraj Jaiswar
Possible Support Team

#176220
Mar 14, 2017 7:35
Vote:
 

@Suraj I think the CDATA you are having comes from TinyMCE instead of Episerver. but I think your issue is not due to CDATA.

maybe you should look for 

<meta http-equiv="Content-Security-Policy"...
you can refer http://stackoverflow.com/questions/34852682/refused-to-load-the-script-because-it-violates-the-following-content-security-po
#177235
Edited, Apr 05, 2017 19:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.