goplayspace icon indicating copy to clipboard operation
goplayspace copied to clipboard

Mouse Point place in wrong position after paste code.

Open EasonWang01 opened this issue 8 years ago • 2 comments

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

EasonWang01 avatar Nov 21 '17 06:11 EasonWang01

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 avatar Nov 21 '17 07:11 iafan

Yes,close the syntax highlighting will fix this issue.

EasonWang01 avatar Nov 21 '17 08:11 EasonWang01