This is a migrated thread and some comments may be shown as answers.

RAD Editor changes the HREF attribute value in the IE8

1 Answer 18 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Oleg Burov
Top achievements
Rank 1
Oleg Burov asked on 13 Sep 2010, 08:43 AM

Hi guys,

It looks like you have the bug in the latest RadEditor for ASP.NET AJAX controls library.

Please check it and provide a workaround.

Environment: Internet Explorer 8

Scenario to reproduce:
1. Navigate to http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx;
2. Switch New Lines as radio button to Paragraphs value;
3. Switch to the HTML Mode and fill in the following HTML:
<a href="http://www.test.com/">www.test.com (Test link)</a>

4. Switch to the Design Mode and press the Enter key;
5. Switch to the HTML Mode again.


Result:


The RAD Editor changes the HREF attribute value. The value in the brackets, from the <a></a> tag, is added to the HREF attribute value. In the issue the link is corrupted.

Like bellow:
<p><a href="http://www.test.com (Test link)">www.test.com (Test link)</a></p>
<p>&nbsp;</p>


Expected result:
The RAD Editor should not change the HREF attribute value. The value in the brackets should not copy to the HREF attribute value.

Best Regards,

Oleg Burov

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 15 Sep 2010, 01:26 PM
Hi Oleg,

This problem is not directly related to RadEditor but is a standard browser behavior - when a text is formatted like a web or e-mail address InternetExplorer is creating an anchor tag with these values. You can verify this using a standard editable <iframe>.

We will investigate this behavior deeper and will try to correct it but I cannot provide firm estimate when this will be fixed (if possible).

For your convenience I have attached a simple HTML page with a standard editable <iframe> to test the default behavior.

Regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Oleg Burov
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or