zs_library 0.4.4 → 0.4.5
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.es.js +2 -1
- package/dist/index.umd.js +39 -39
- package/package.json +146 -148
package/dist/index.es.js
CHANGED
|
@@ -8753,7 +8753,8 @@ function Dd(n, e) {
|
|
|
8753
8753
|
if (n && typeof n.serializeForClipboard == "function")
|
|
8754
8754
|
return n.serializeForClipboard(e);
|
|
8755
8755
|
const t = wd();
|
|
8756
|
-
if (t &&
|
|
8756
|
+
if (t && // @ts-expect-error proseMirrorView is not a function
|
|
8757
|
+
typeof (t == null ? void 0 : t.__serializeForClipboard) == "function")
|
|
8757
8758
|
return t.__serializeForClipboard(n, e);
|
|
8758
8759
|
throw new Error("No supported clipboard serialization method found.");
|
|
8759
8760
|
}
|