@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.cjs.js CHANGED
@@ -5104,7 +5104,10 @@ class Utils {
5104
5104
  selection.addRange(range);
5105
5105
  }
5106
5106
  }
5107
- setClip(data, info) {
5107
+ setClip(data, info = {
5108
+ type: "text",
5109
+ mimetype: "text/plain",
5110
+ }) {
5108
5111
  if (typeof data === "object") {
5109
5112
  if (data instanceof Element) {
5110
5113
  data = data.outerHTML;