mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
support ids, clean up code and move the api related stuff to transform.ts
This commit is contained in:
parent
da8e97ad14
commit
985318e960
11 changed files with 337 additions and 250 deletions
|
@ -13,7 +13,7 @@ import { FileSystemHandle, nativeFileSystemSupported } from "./filesystem";
|
|||
import { isValidExcalidrawData, isValidLibrary } from "./json";
|
||||
import { restore, restoreLibraryItems } from "./restore";
|
||||
import { ImportedLibraryData } from "./types";
|
||||
import { convertToExcalidrawElements } from "../element/newElement";
|
||||
import { convertToExcalidrawElements } from "../data/transform";
|
||||
|
||||
const parseFileContents = async (blob: Blob | File) => {
|
||||
let contents: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue