CData issue when embedding a widget on the Episerver 6


Hi Team,

We get an error when we try to implement the Custom Code of the widget on our site through EpiServer CMS (Version 6).

We want to implement this widget 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:">Weather warnings>" target="_blank">Weather warnings generated by the'>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:">Weather warnings" target="_blank">Weather warnings generated by the">Met Office Weather Widget

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


Vaibhav Nadpurohit

Mar 16, 2017 10:08

Pasting SCRIPT into a TinyMCE HTML editor is usually not a good idea.

You could have plain textarea string property instead or add a simple Dynamic Content plugin that has a textarea field. Both these options will keep the format of the script pasted.

May 01, 2017 22:22
* 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.