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
I'm building a vector/line editor, and one of bits of functionality involved is setting the clipboard with the current contents of the given scene, and this doesn't work. I know that browser clipboards can be a bit fiddly, though this should work since it's user-initiated.
I'm willing to help sort this out, provided it is in scope.
The text was updated successfully, but these errors were encountered:
The better approach would be for me to bake this into the code
Could you please try using navigator.window.navigator.clipboard.readText() and window.navigator.clipboard.writeText("tetet") ?
This approach won't need a pseudo HTML element, only request current document to be focused, which in most case is true
I'm building a vector/line editor, and one of bits of functionality involved is setting the clipboard with the current contents of the given scene, and this doesn't work. I know that browser clipboards can be a bit fiddly, though this should work since it's user-initiated.
I'm willing to help sort this out, provided it is in scope.
The text was updated successfully, but these errors were encountered: