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

ENTER key behavior #44

Closed
ghost opened this issue Apr 21, 2014 · 2 comments
Closed

ENTER key behavior #44

ghost opened this issue Apr 21, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2014

Hi Tomas, I noticed that when I hit the ENTER key somewhere in a paragraph that ends with a new line (so hitting Enter before the paragraph's end), the caret jumps to the new line position at the end. If the last position of the paragraph is not an new line, then hitting enter anywhere before behaves as expected. Is this by design?

@TomasMikula
Copy link
Member

I cannot reproduce this either. Again, is this reproducible with some of the demos?

@ghost
Copy link
Author

ghost commented Apr 21, 2014

I can't reproduce it with your editor. I checked my code extensively, all of my event handling methods for the text area are for querying style at position. They have nothing to with setting the caret. will check more and report back.

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

1 participant