my-mind icon indicating copy to clipboard operation
my-mind copied to clipboard

To line break on the last line, need to press Enter twice.

Open wc7086 opened this issue 3 years ago • 1 comments

Is this a feature or a bug?

wc7086 avatar Nov 17 '22 09:11 wc7086

Hi @wc7086,

thanks for your bugreport. This is an interesting observation: the Enter (with shift/ctrl) does insert a new line, but the browser does not seem to move the caret (vertical cursor) after the linebreak. One can easily double-check this by pressing Enter once (no linebreak visible) and then inspecting the resulting DOM via devtools. The <br> gets inserted, but not visualized.

I am not entirely sure how to force the browser the move the caret below the inserted break. I am open to suggestions here.

ondras avatar Nov 18 '22 16:11 ondras