I've discovered a bug with RadEditor when copying and pasting a link, where the link's href starts with a slash. In Firefox, the pasted link is preceded by any number of ../ and part of the path removed, and in IE, the link is changed to an absolute path including the domain.
Steps to reproduce.
Results
Firefox
Link href becomes: ../../../../products/aspnet-ajax/sharepoint.aspx
IE
Link href becomes: http://demos.telerik.com/products/aspnet-ajax/sharepoint.aspx
Expected result:
Link to remain as /products/aspnet-ajax/sharepoint.aspx
Regards
Matt
Steps to reproduce.
- Visit: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
- In the first paragraph, change the Sharepoint link's href to: /products/aspnet-ajax/sharepoint.aspx
- Copy the paragraph
- Paste the paragraph somewhere else in the editor
- View the new href of the Sharepoint link in the pasted paragraph
Results
Firefox
Link href becomes: ../../../../products/aspnet-ajax/sharepoint.aspx
IE
Link href becomes: http://demos.telerik.com/products/aspnet-ajax/sharepoint.aspx
Expected result:
Link to remain as /products/aspnet-ajax/sharepoint.aspx
Regards
Matt