We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for this code fragment, Is it necessary for other browser to check options.format ?
I config wrong with format: 'plain' , and then nothing could paste.
format: 'plain'
if (typeof e.clipboardData === "undefined") { // IE 11 debug && console.warn("unable to use e.clipboardData"); debug && console.warn("trying IE specific stuff"); window.clipboardData.clearData(); var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] window.clipboardData.setData(format, text); } else { // all other browsers e.clipboardData.clearData(); e.clipboardData.setData(options.format, text); }
The text was updated successfully, but these errors were encountered:
Which more strange thing is when I import js from wzrd.in , code above runs well. Cause stuck of cdn site , I could not compare source with them.
wzrd.in
Sorry, something went wrong.
No branches or pull requests
for this code fragment, Is it necessary for other browser to check options.format ?
I config wrong with
format: 'plain'
, and then nothing could paste.The text was updated successfully, but these errors were encountered: