@whitesev/utils 1.3.2 → 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.amd.js +4 -1
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +4 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +4 -1
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/Utils.ts +5 -2
package/dist/index.system.js
CHANGED
|
@@ -5107,7 +5107,10 @@ System.register('Utils', [], (function (exports) {
|
|
|
5107
5107
|
selection.addRange(range);
|
|
5108
5108
|
}
|
|
5109
5109
|
}
|
|
5110
|
-
setClip(data, info
|
|
5110
|
+
setClip(data, info = {
|
|
5111
|
+
type: "text",
|
|
5112
|
+
mimetype: "text/plain",
|
|
5113
|
+
}) {
|
|
5111
5114
|
if (typeof data === "object") {
|
|
5112
5115
|
if (data instanceof Element) {
|
|
5113
5116
|
data = data.outerHTML;
|