multiple Cursor Issues - with rad editor

2 posts, 0 answers
  1. Jayesh
    Jayesh avatar
    24 posts
    Member since:
    Jul 2012

    Posted 12 Aug Link to this post

    I have seen few threads discussing about cursor but none of them are including all these 3 issues. So opening a new thread.

    we are using Telerik 2014.2.724.45. I know there are latest versions available. Since our application is already has gone live, we cannot upgrade the version now. So please suggest any hotfix available.

    We are facing cursor issue in multiple scenarios.
         1) when some special characters are copy pasted, like ' ' , '\r' or 'char(10)', on editing or deleting cursor moves to some different position.
              we have provided the fix which is mentioned below but still users has reopened this issue. so can you please suggest anything else has to be taken care?
              we have added OnClientPasteHtml="RemoveHtmlContents"
              function RemoveHtmlContents(editor, args) {
                     var pasteText = args.get_value();
                     if (pasteText.indexOf(" ") > -1) {
                             pasteText = pasteText.replace(/ /g, '');
                     }
                     if (pasteText.indexOf("&") > -1) {
                            pasteText = pasteText.replace(/&/g, '&');
                     }
                     pasteText = pasteText.replace(/\r\n|\n|\r/g, ' ');
                    args.set_value(pasteText);
              }

    2) When track changes are enabled and on pressing enter some time cursor moves back to previous line but on typing it will come to next line
    I have found this issue for different version here -  http://feedback.telerik.com/project/108/Feedback/Details/134999-incorrect-behavior-when-pressing-enter-with-enabled-track-changes  will this fix this issue?

     

    3) When started editing after enabling track changes. In between if I come back and edit at position a it goes back position b, (a & b are shown in the image attached.

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 15 Aug Link to this post

    Hello Jayesh,

    Let me start with a few important notes:

    • Bug fixes are introduced in the first official release of the product after the fix is implemented by the development team.
    • To get a bug fix, you should upgrade your project to a release equal to or newer than the first release that contains the fix.
    • Workarounds for old versions may not be possible.
    • We constantly improve our controls, not only in terms of fixing bugs, but we also improve user experience and developer experience. Thus, my advise is to keep your application up to date to the newest version possible.

    As for the issues you face—I advise testing our demos to see if there is an issue with it: http://demos.telerik.com/aspnet-ajax/editor/examples/trackchanges/defaultcs.aspx. If you can reproduce problems there, I advise you share the steps so we can look into the case. If things work fine, you should upgrade to the latest version.

    I must also note that char(10) or \n or \r are not valid line breaks in HTML, so pasting them should not be expected to result in a line break.

    On the Enter issue you have found—this is already fixed as of Q3 2014 (the next major release after yours). I have updated the public page to include this information. As for the workaround—it should help and you should try it. Otherwise, you would need to upgrade to the latest version.

    The final issue you report is not known and I was not able to reproduce a problem with the live demo I linked above. Thus, if such a bug has existed in the 2014 version, it has already been fixed through some of the improvements we have done in the Track Changes functionality.

    Regards,

    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top