Completed
Last Updated: 16 Jan 2024 11:44 by ADMIN
Release 2024 Q1
JP
Created on: 03 Jun 2022 06:42
Category: Editor
Type: Bug Report
0
Odd behavior when highlighting text in RadEditor

Steps to reproduce the text highlighting issue:

  1. Go to https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
  2. Delete the content and write a single line
  3. Use the mouse to highlight a portion of text starting at the end (right side) of the text and dragging toward the beginning (left side).
  4. Stop about halfway to the beginning of the text.
  5. Now, while the text is still highlighted, press shift and left arrow to continue selecting. This will work for some time until the highlight gets near the beginning, then, the highlight will start moving from the right side.
1 comment
ADMIN
Rumen
Posted on: 03 Jun 2022 06:50

Hi Jean-Pierre,

Thank you for reporting this problem!

Until the issue gets fixed, you can use the temporary solution below:

            <script>
                var $T = Telerik.Web.UI;
                var $Editor = $T.Editor;

                $Editor.DefaultToolAdapter.prototype._registerEditorHandlers = function () {
                    var editor = this.get_editor();
                    editor.add_load(this._onEditorLoadDelegate);
                    editor.add_modeChange(this._onEditorModeChangeDelegate);
                }
            </script>
            <telerik:RadEditor ID="Radeditor1" runat="server">
                <Content>some very long long long long long sentence</Content>
            </telerik:RadEditor>

 

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.