|
@@ -1,23 +1,23 @@
|
|
|
import {
|
|
|
exportToCanvas as _exportToCanvas,
|
|
|
exportToSvg as _exportToSvg,
|
|
|
-} from "../excalidraw/scene/export";
|
|
|
-import { getDefaultAppState } from "../excalidraw/appState";
|
|
|
-import type { AppState, BinaryFiles } from "../excalidraw/types";
|
|
|
+} from "../../excalidraw/scene/export";
|
|
|
+import { getDefaultAppState } from "../../excalidraw/appState";
|
|
|
+import type { AppState, BinaryFiles } from "../../excalidraw/types";
|
|
|
import type {
|
|
|
ExcalidrawElement,
|
|
|
ExcalidrawFrameLikeElement,
|
|
|
NonDeleted,
|
|
|
-} from "../excalidraw/element/types";
|
|
|
-import { restore } from "../excalidraw/data/restore";
|
|
|
-import { MIME_TYPES } from "../excalidraw/constants";
|
|
|
-import { encodePngMetadata } from "../excalidraw/data/image";
|
|
|
-import { serializeAsJSON } from "../excalidraw/data/json";
|
|
|
+} from "../../excalidraw/element/types";
|
|
|
+import { restore } from "../../excalidraw/data/restore";
|
|
|
+import { MIME_TYPES } from "../../excalidraw/constants";
|
|
|
+import { encodePngMetadata } from "../../excalidraw/data/image";
|
|
|
+import { serializeAsJSON } from "../../excalidraw/data/json";
|
|
|
import {
|
|
|
copyBlobToClipboardAsPng,
|
|
|
copyTextToSystemClipboard,
|
|
|
copyToClipboard,
|
|
|
-} from "../excalidraw/clipboard";
|
|
|
+} from "../../excalidraw/clipboard";
|
|
|
|
|
|
export { MIME_TYPES };
|
|
|
|
|
@@ -170,7 +170,7 @@ export const exportToSvg = async ({
|
|
|
exportPadding?: number;
|
|
|
renderEmbeddables?: boolean;
|
|
|
}): Promise<SVGSVGElement> => {
|
|
|
- console.info("HIIII FROM UTILS WORKSPACE");
|
|
|
+ console.info("Watching exportToSVG :)");
|
|
|
|
|
|
const { elements: restoredElements, appState: restoredAppState } = restore(
|
|
|
{ elements, appState },
|