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

Mouse Point place in wrong position after paste code. #24

Open
EasonWang01 opened this issue Nov 21, 2017 · 2 comments
Open

Mouse Point place in wrong position after paste code. #24

EasonWang01 opened this issue Nov 21, 2017 · 2 comments
Labels

Comments

@EasonWang01
Copy link

After paste code to this playspace the mouse point place will a litttle higher then before.

@iafan
Copy link
Owner

iafan commented Nov 21, 2017

It would be nice to provide more details with the bug report: what the code looked like before the paste, what was the position of the caret, what was the pasted snippet, what was the observed and expected resulting output and caret position. Also, what was the browser, and did you try to reproduce this in other browsers?

If you can boil this issue down to some minimal text, that would simplify debugging.

Having said that, the quickest workaround for the issue would be to disable syntax highlighting. With highlighting turned off, the editor behaves like a regular textarea and shouldn't have any positioning issues.

@iafan iafan added the bug label Nov 21, 2017
@EasonWang01
Copy link
Author

Yes,close the syntax highlighting will fix this issue.

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

No branches or pull requests

2 participants