Open EasonWang01 opened 6 years ago
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.
Yes,close the syntax highlighting will fix this issue.
After paste code to this playspace the mouse point place will a litttle higher then before.