URL in ephox field

Good afternoon

We are using Rx V6.5.2, and we have been having an issue with URL and Mailto tags in the ephox body. if we have text like: http://www.cnn.com, and try to make that a rhythmyx link to another page, the ephox editor replaces the URL with a rhythmyx url upon updating the page.

the code after adding a rhythmyx link around a URL:

<p><a sys_dependentvariantid="408" href="http://secprod0.sec.gov:9992/Rhythmyx/assembler/render?sys_revision=14&sys_siteid=309&sys_authtype=0&sys_contentid=47724&sys_variantid=408&sys_folderid=47722&sys_context=0" rxinlineslot="103" sys_dependentid="47724" sys_relationshipid="829097" sys_variantid="408" sys_contentid="47724" title="" sys_siteid="309" inlinetype="rxhyperlink" sys_folderid="47722">http://insider/whats_happening/at_the_sec/february_2009/restacking_update-02132009.html</a></p>

after updating the page:

<p><a sys_dependentvariantid="408" href="http://secprod0.sec.gov:9992/Rhythmyx/assembler/render?sys_revision=14&sys_siteid=309&sys_authtype=0&sys_contentid=47724&sys_variantid=408&sys_folderid=47722&sys_context=0" rxinlineslot="103" sys_dependentid="47724" sys_relationshipid="829097" sys_variantid="408" sys_contentid="47724" title="" sys_siteid="309" inlinetype="rxhyperlink" sys_folderid="47722">http://secprod0.sec.gov:9992/Rhythmyx/assembler/render?sys_revision=14&sys_siteid=309&sys_authtype=0&sys_contentid=47724&sys_variantid=408&sys_folderid=47722&sys_context=0</a></p>

If i remove the “http://” from the text, then the link remains. Any thoughts?

Thanks
Raj

This is a known issue with the rich text editor fields - any <tags> e.g. HTML, PHP, various scripts etc. are stripped out when the field is saved to the database.

We [at www.nhm.ac.uk] got around the problem by making all users add URLs and Mailto links as Inline templates by requiring them to create a Link Content item for each URL/Mailto link (and storing them in a centralised single folder with some additional validation coding to avoid duplicates) and add it to the Ephox field by way of the “Insert Inline Variant” button.

Sounds a bit cumbersome, but it has the added advantage of being able to properly manage all your Link items centrally, rather than having to search for all page items containing one out-of-date/broken URL and editing each one. Plus it encourages meaningful System Titles and re-use of items. We also removed the ‘Web link’ command from Ephox (in the config file) so users wouldn’t be tempted to add a URL directly to their rich text field.

Cara