Tiny MCE _mce_href


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?

Aug 10, 2012 10:54

What does the embed code you are inserting look like?

Aug 10, 2012 15:30

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.

Aug 14, 2012 12:21

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:


Aug 14, 2012 13:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.