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 was trying to replace ZeroClipboard with this new clipboard.js library to get rid of the flash dependancy, but I felt this one workflow was unsupported with this library. An example of this is showcased here: https://jsfiddle.net/o6g9gu2w/. When trying to copy empty text, due to user input being empty, I get the following error: Missing required attributes, use either "target" or "text" caused by the following line
thrownewError('Missing required attributes, use either "target" or "text"');
. I would like to know if there is a way for me to catch or prevent this error or how this could be fixed. This is the only thing preventing me from switching to this library.
The text was updated successfully, but these errors were encountered:
I was trying to replace ZeroClipboard with this new clipboard.js library to get rid of the flash dependancy, but I felt this one workflow was unsupported with this library. An example of this is showcased here: https://jsfiddle.net/o6g9gu2w/. When trying to copy empty text, due to user input being empty, I get the following error:
Missing required attributes, use either "target" or "text"
caused by the following lineclipboard.js/src/clipboard-action.js
Line 45 in d925445
The text was updated successfully, but these errors were encountered: