Failed to execute window.document.execCommand (insert) command in brackets

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.

0
source share
1 answer

, - Chromium, Chromium - . , - -, , .

: NodeJS, Node, copy-paste . Extended .

0

All Articles