Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wc7086 opened this issue Nov 17, 2022 · 1 comment
Open

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

wc7086 opened this issue Nov 17, 2022 · 1 comment

Comments

@wc7086
Copy link

wc7086 commented Nov 17, 2022

Is this a feature or a bug?

@ondras
Copy link
Owner

ondras commented Nov 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants