It seems like document.execCommand('paste')
is disabled for security purposes in Chrome. Is there a way to use it in the developer console for some debug/test purposes?
Right now I can run things like
document.execCommand('insertText', false, 'asdf')
or
document.execCommand('insertHTML', false, 'asdf')
but not
document.execCommand('paste');