I wrote a plugin in brackets in which I want to copy text from a text box and paste into the current open document.
window.document.execCommand("copy");
If I use the keyboard command + v its operation, I can insert text that is copied using the dom command above.
But I cannot get the same result window.document.execCommand("paste"), although I also tried this CommandManager.execute(Commands.EDIT_PASTE).
Could you help me.
Relationship Ashish.
source
share