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

RadEditor hyperlink manager not creating hyperlinks in Chrome and Safari

1 Answer 164 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jake
Top achievements
Rank 1
Jake asked on 29 Mar 2013, 06:56 PM
We're using RadEditor and the hyperlink manager for our application, version v4.0.30319

In chrome and safari, when highlighting text, then clicking on the hyperlink manager and creating a hyperlink, the hyperlink is not created. If no text is selected and the hyperlink manager is selected first, the hyperlink IS inserted. 

This behavior only occurs in chrome and safari (webkit?)  and not in firefox or IE, which work perfectly fine.

Here is the relevant code.  I am not able to replicate this error on the demos, but I was wondering if this is an issue that has been addressed in a later version or if there is something I can do to fix it.

Thanks

<asp:Panel ID="pBlog" runat="server" >
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" >
                <Windows>
                    <telerik:RadWindow runat="server" ID="Editor" Width="700px" Height="550px" AutoSize="false"  VisibleStatusbar="false"  />
                </Windows>
            </telerik:RadWindowManager>
            <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px"  
                <ContextMenus>
                    <telerik:EditorContextMenu >
                        <telerik:EditorTool name="Cut"/>
                        <telerik:EditorTool name="Copy"/>
                        <telerik:EditorTool name="Paste"/>
                        <telerik:EditorTool Name="PasteFromWord" />
                        <telerik:EditorTool Name="PastePlainText" />
                        <telerik:EditorTool Name="PasteAsHtml" />
                    </telerik:EditorContextMenu>
                </ContextMenus>
                <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool name="Print" shortcut="CTRL+P" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="Cut" shortcut="CTRL+X" />
                        <telerik:EditorTool Name="Copy" shortcut="CTRL+C" />
                        <telerik:EditorTool Name="Paste" shortcut="CTRL+V" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="Undo" shortcut="CTRL+Z" />
                        <telerik:EditorTool Name="Redo" shortcut="CTRL+Y" />
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="Bold" shortcut="CTRL+B" />
                        <telerik:EditorTool Name="Italic" shortcut="CTRL+I" />
                        <telerik:EditorTool Name="Underline" shortcut="CTRL+U" />
                        <telerik:EditorTool Name="Strikethrough"/>
                        <telerik:EditorTool Name="Superscript"/>
                        <telerik:EditorTool Name="Subscript"/>
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="CustomDialog" Text="Insert Image" />
                        <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" />
                            <telerik:EditorTool Name="EmbedVideo" Text="Embed YouTube Video" />
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="FontName" Text="Font"/>
                        <telerik:EditorTool Name="RealFontSize" Text="Size"/>
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="ForeColor" />
                        <telerik:EditorTool Name="BackColor" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool name="FormatStripper"/>
                    </telerik:EditorToolGroup>
                </Tools>
            </telerik:RadEditor>
 
</asp:Panel>


EDIT: I was able to duplicate the error with this much simpler code.

<%@ Page Language="C#"  AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<html>
<head><title></title></head>
<body>
<form runat="server">
<asp:ScriptManager id="scriptman" runat="server" />
 
            <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px"  
                   <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" />
                    </telerik:EditorToolGroup>
                                         
                </Tools>
            </telerik:RadEditor>
            </form>
</body>
</html>

1 Answer, 1 is accepted

Sort by
0
Jake
Top achievements
Rank 1
answered on 01 Apr 2013, 05:12 PM
It turns out it was a specific bug in the DLL version. February 2013 version does not have this issue, only the January version.
Tags
Editor
Asked by
Jake
Top achievements
Rank 1
Answers by
Jake
Top achievements
Rank 1
Share this question
or