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

Radeditor randomly turns part of the text into partial hyperlink (a HTML anchor tag without url link) during text editing

1 Answer 120 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chuck
Top achievements
Rank 1
Chuck asked on 20 Oct 2014, 07:42 PM
Hello,

I have come across a strange issue in the Radeditor, which would randomly turns part of the text into partial hyperlink (a HTML anchor tag without url link) during text editing with shift key and other key entry movement (enter key, mouse click or cursor move).  I tried the Telerik Radeditor demo site and I can re-produce the same issue. (see attachments). Is this a known issue? Is that any patch available to resolve the problem?

Thanks,
Chuck Wan

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 22 Oct 2014, 06:50 AM

Hello Chuck,

The same matter is already discussed in another support thread opened by you. I suggest checking the information provided there about the matter. In case of further assistance needed please open only one support thread on the matter. This helps use provide better assistance by investigating properly the provided information.

For anybody else interested on the matter. This is actually a feature available in editable elements under IE and it it is introduced since IE 5.5. More about this is available in these materials:

Therefore, pressing shift and typing the '@' character, IE transforms the text to an email anchor. Starting a plain text with 'http://' IE transforms it to URL. 

To disable this feature for the RadEditor control you can use the following JS snippet:

<telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad">
</telerik:RadEditor>
  
<script type="text/javascript">
    function OnClientLoad(editor, args) {
        editor.executeBrowserCommand("AutoUrlDetect", false, false);
    }
</script>


Regards,

Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Chuck
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or