You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From looking at the API of this library, it appears it does not currently have support for execCommand.
If your question is "how would the equivalent of document.execCommand() be achieved in general", I don't know, that requires investigation. It's not a priority for me at this time, so I'm not working on it.
If you're interested in working on this, feel free to look into it.
Thanks @udhos, that sounds like the right solution. We can add an ExecCommand method that uses such an implementation. Whoever is interested in getting this added to dom can send a PR.
Activity
dominikh commentedon May 22, 2017
/cc @shurcooL
dmitshur commentedon May 22, 2017
From looking at the API of this library, it appears it does not currently have support for
execCommand.If your question is "how would the equivalent of document.execCommand() be achieved in general", I don't know, that requires investigation. It's not a priority for me at this time, so I'm not working on it.
If you're interested in working on this, feel free to look into it.
udhos commentedon Jun 30, 2017
I am using this as work-around:
js.Global.Get("document").Call("execCommand", "copy") // document.execCommand('copy');dmitshur commentedon Jun 30, 2017
Thanks @udhos, that sounds like the right solution. We can add an
ExecCommandmethod that uses such an implementation. Whoever is interested in getting this added todomcan send a PR.