@myoc/common 0.19.543 → 0.19.545
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/dev/index.js
CHANGED
|
@@ -1831,6 +1831,7 @@ var MIME_TYPES = {
|
|
|
1831
1831
|
var ALLOWED_PASTE_MIME_TYPES = [
|
|
1832
1832
|
MIME_TYPES.text,
|
|
1833
1833
|
MIME_TYPES.html,
|
|
1834
|
+
MIME_TYPES.excalidrawClipboard,
|
|
1834
1835
|
...Object.values(IMAGE_MIME_TYPES)
|
|
1835
1836
|
];
|
|
1836
1837
|
var EXPORT_IMAGE_TYPES = {
|
|
@@ -1874,7 +1875,7 @@ var EXPORT_SCALES = [1, 2, 3];
|
|
|
1874
1875
|
var DEFAULT_EXPORT_PADDING = 10;
|
|
1875
1876
|
var DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT = 1440;
|
|
1876
1877
|
var MAX_ALLOWED_FILE_BYTES = 300 * 1024 * 1024;
|
|
1877
|
-
var DEFAULT_GIF_AUTO_DECODE_MAX_FILE_SIZE_BYTES =
|
|
1878
|
+
var DEFAULT_GIF_AUTO_DECODE_MAX_FILE_SIZE_BYTES = 50 * 1024 * 1024;
|
|
1878
1879
|
var DEFAULT_IMAGE_OPTIONS = {
|
|
1879
1880
|
maxWidthOrHeight: DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT,
|
|
1880
1881
|
maxFileSizeBytes: MAX_ALLOWED_FILE_BYTES,
|