Can't paste code to from clipboard #1831

Open
izogfif opened this Issue May 9, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@izogfif

izogfif commented May 9, 2017

Pasting code from clipboard into the form on the website http://esprima.org/demo/validate.html doesn't work.

Steps to reproduce

Put text into clipboard, e.g. via starting Notepad, typing "123", selecting the text and copying it into the clipboard via Ctrl+Insert.
Open website http://esprima.org/demo/validate.html in the desktop browser (I used Firefox 53.0.2 32-bit on Windows 8.1 Pro 64-bit).
Click inside the field below Syntax Validator checks for mistakes and errors. There will be blinking text caret.
Press Shift+Insert on the keyboard to insert the text from the clipboard.

Expected output

"123" without quotes should appear on the spot where text caret is.

Actual output

Nothing happens. Right-clicking and selecting "Paste" from the pop-up menu inserts the text from the clipboard into the text edit field.

Relevant references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment