@whitesev/utils 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -5108,7 +5108,10 @@
5108
5108
  selection.addRange(range);
5109
5109
  }
5110
5110
  }
5111
- setClip(data, info) {
5111
+ setClip(data, info = {
5112
+ type: "text",
5113
+ mimetype: "text/plain",
5114
+ }) {
5112
5115
  if (typeof data === "object") {
5113
5116
  if (data instanceof Element) {
5114
5117
  data = data.outerHTML;