Tiny MCE _mce_href

Vote:
 

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?

#60464
Aug 10, 2012 10:54
Vote:
 

What does the embed code you are inserting look like?

#60474
Aug 10, 2012 15:30
Vote:
 

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.

#60521
Aug 14, 2012 12:20
Vote:
 

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/

#60523
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.