AI OnAI Off
My embed code looks as follows:
<textarea cols="50" rows="4"><img src="Image url" width="60" height="60" alt="blah"><div>text here<a href="http://www.123.co.uk">www.123.co.uk</div></text area>
When the page is published EPi automatically addes _mce_href:
<img src="Image URL" _mce_src="Image URL" width="60" height="60" alt="Blah"/><div>text here<a href="www.123.co.uk" _mce_href="www.123.co.uk">www.123.co.uk</a></div>
Also, when the websites FQDN is added to the image URL EPi strips out the FQDN.
I think you should look at making the textarea a part of of your template (or possibly Dynamic Content) code instead of pasting it in the editor.
If not you need to set TEXTAREA as a valid element in your TinyMCE configuration. You can look at my blog of how to reach it:
http://krompaco.nu/2010/05/alter-default-initoptions-for-tinymce-in-episerver-6/
I am having some issues when using <textarea> on a content page for embed code.
When I insert my embed code using thr HTML option into the content page and publishing it, it removes the link from href and uses _mce_href instead. Also, it removes the domain name from the URL.
Is there a solution to stop this from happening?