Description
Adding a hr-tag sets the caret(cursor) position below the horizontal line. When you click below the horizontal line and start typing, the typed text is shown above the horizontal line. It seems like the caret position before the hr-tag and the caret position after hr-tag is on the same line. If you start typing immediately after clicking on the "add hr" button, the second text is below the horizontal line, but the caret positions is a little bit lower.
I wrote the steps to reproduce and added a gif.
Tested on: Chrome(91.0.4472.124) - Angular-Editor Demo Site
Steps to reproduce:
- Write a simple Text
- Add a horizontal line
- Click on new line below the horizontal line
- Type again a simple text
Expected
The second text is below the horizontal line
Actual
The second text is above the horizontal line
Current workaround
press "arrow-down"-key twice to get to the last caret position