kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

Pressing Enter key at the end of an indented paragraph does not keep the set indent

Open mbechev opened this issue 4 years ago • 1 comments

Describe the bug The Editor Indent tool is not persisted when the user clicks the Enter key at the end of an already indented paragraph. It is working as expected if the Enter key is clicked when the cursor is at the beginning of the paragraph or in the middle.

Please refer to the following screencast: https://screenrec.com/share/PV6RFEKnkr

To Reproduce

  1. Indent paragraph.
  2. Move the cursor at the end of the indented paragraph.
  3. Click Enter to create a new line.
  4. The new line has no indent applied. https://stackblitz.com/edit/angular-ume374

Expected behavior To keep the set indent on a new line. Here is how the Kend jQuery Editor behaves: https://screenrec.com/share/KgWuCOdV8Y

mbechev avatar May 20 '21 13:05 mbechev

The same behavior is reproduced when the Align text tool is used. https://stackblitz.com/edit/angular-a1x8md

  1. Center align all paragraphs.
  2. Click Enter key at the end of the last paragraph.
  3. The cursor is left aligned which is not correct.

Reported in private support thread: 1566754

mbechev avatar May 30 '22 06:05 mbechev