qpixel
qpixel copied to clipboard
Pasting image in a post moves cursor to the end of the editor
meta:293768
To reproduce the keyboard cursor being moved to the end of the "Body" field, paste in an image using either ctrl+V (or cmd+V on MacOS) or using right mouse click. In both of these cases, the cursor starts at the position you want the image to be pasted, and the image is correctly pasted in that position, but then the keyboard cursor jumps to the end of the post.
Only a problem for paste; the upload button behaves as expected.