kendo-angular
kendo-angular copied to clipboard
Pressing Enter key at the end of an indented paragraph does not keep the set indent
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
- Indent paragraph.
- Move the cursor at the end of the indented paragraph.
- Click
Enterto create a new line. - 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
The same behavior is reproduced when the Align text tool is used. https://stackblitz.com/edit/angular-a1x8md
- Center align all paragraphs.
- Click
Enterkey at the end of the last paragraph. - The cursor is left aligned which is not correct.
Reported in private support thread: 1566754