I am using chrome extenstion and want to execute cut copy paste command. In my project I use canvas. I want to use the execCommand function for this. when I implement document.execCommand ('copy') and then paste it does not work. I also changed the resolution in the manifest file. can someone tell me how this team will work. I tried the link http://www.geekpedia.com/tutorial126_Clipboard-cut-copy-and-paste-with-JavaScript.html , but document.selection .... does the undefine error not work?
source share