Unplanned
Last Updated: 05 Sep 2022 11:39 by ADMIN
Lars
Created on: 02 Sep 2022 14:21
Category: Editor
Type: Bug Report
2
Backspace deletes first line in editor

Hi,

please review the following steps:

1) Go to: https://dojo.telerik.com/@lhoeppner/IYoKegOY

2) In the editor, click the "View Html" button

3) Select all, then paste this new content, then select "Update":

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title></title>
<style type="text/css">.csAD7A2888{text-align:left;text-indent:0pt;margin:12pt 0pt 12pt 0pt}
.cs2D694F89{color:#000000;background-color:transparent;font-family:Tahoma;font-size:10pt;font-weight:normal;font-style:normal;}
.csC8F6D76{color:#000000;background-color:transparent;font-family:Calibri;font-size:11pt;font-weight:normal;font-style:normal;}
</style>


<p class="csAD7A2888"><span class="cs2D694F89">1st line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">2nd line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">3rd line </span></p>
<p class="csAD7A2888"><span class="cs2D694F89">4th line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">...</span></p>
<p class="csAD7A2888"><span class="csC8F6D76">Tim Allens 24-08-2022 18:02 (UTC+00:00) Dublin, Edinburgh, Lisbon, L</span></p>

4) Click to put the cursor in front of "2nd line", then click to put the cursor in front of "1st line" (at the beginning of the note)

5) Press backspace

Result: The line starting with "1st line..." is deleted.

6) Put cursor in front of "3rd line", then back in front of "2nd line", press backspace

Result: The line starting with "2nd line..." is deleted.

 

Backspace shouldn't delete anything in that scenario because the cursor is in front of all note content, and nothing is selected.

The deletion occurs via kendo.editor._handleBackspace/_merge 

 

Thanks,

Lars

2 comments
ADMIN
Ianko
Posted on: 05 Sep 2022 11:39

Hello Lars,

Thank you for this report. This is a bug and I have converted your ticket to a public bug report. That way you will be able to track any progress related to the logged item. 

Regards,
Ianko
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/.

Lars
Posted on: 02 Sep 2022 15:08
add CCs ref 169149