TinyMCE how to stop it from Cleanup HTML

Topics: Controls
May 7, 2014 at 5:45 PM
I am trying to add Google Ads in a Text Box region in BlogEngine.

I paste the following code, then TinyMCE changes it, and the ad break.

AdSense Code
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 300x250, created 12/14/10 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-xxxxxxxxxxx"
     data-ad-slot="0xxxxxxxx"></ins>
<script>
(adsbygoogle = wi
Tiny does this to it... Removes <ins tag, styles, and add CDATA. I have tried setting init values for Tiny, Class values such as class="mceNoEditor" on the TextArea but nothing works.
<script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 300x250, created 12/14/10 -->
<p>&nbsp;</p>
<script type="text/javascript">__// <![CDATA[__
(adsbygoogle = window.adsbygoogle || []).push({});
__// ]]>__</script>
Coordinator
May 8, 2014 at 3:21 PM
Here is similar thread that might help.