Insert hyperlink issue

Last post 01-07-2009, 10:48 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  01-07-2009, 8:01 AM 47499

    Insert hyperlink issue

    Hi Adam,
     
    There is an issue with insert hyperlink, when I click on "insert hyperlink" toolbar button the Dialog to insert link appears.
     
    Using Firefox:
    as a normal practice I insert URL=www.google.com and then click ok button.
     
    It will insert a <a></a> tag in the editor with following <a href="www.google.com">www.google.com</a>
    In which the protocol(http,https.etc.,) is missing. so when I save this and render this content on some page the link appears but when I click it it will try to open http://mysite/www.google.com instead of "http://www.google.com".


     
    Using IE 7.0: same is happning,but I found that instead of using the "insert Hyperlink" button if I directly type in www.google.com it will get converted to valid anchor tag.
     
    Can you please help me so that I can have "insert hyperlink" button worked well even if I dont select the "Type"(http,https etc.,)?
     
    I tried to make some changes in "\CuteSoft_Client\CuteEditor\Dialogs\Tag\tag_a.ascx"  
     
    I have changed the following line
     
    <td colspan="3"><input type="text" id="inp_src" style="width:260px" />
     
    TO
     
    <td colspan="3"><input type="text" id="inp_src" style="width:260px" onblur="sel_protocol_change()" onmouseout="sel_protocol_change()" />
     
     
    it somewhat worked in Firefox...not 100% as when I paste the string www.google.com in URL textbox and click ok button or click on othe tabit doesnot worked in Firefox. But its not worked in IE7.0for any case.
     
    Please give some solution to this.
     
    Thanks!!
     
     
     
     
     
  •  01-07-2009, 10:48 AM 47513 in reply to 47499

    Re: Insert hyperlink issue

    Vin333,
     
    In the current design, if the client doesn't select a protocol, Cute Editor will not add a protocol before the URL.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML