Skip to content

Commit 2d20588

Browse files
feat: Add webp image support to Tldraw canvas (#494)
Co-authored-by: Cursor Agent <[email protected]>
1 parent d61d393 commit 2d20588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/roam/src/components/canvas/Tldraw.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ const InsideEditorAndUiContext = ({
736736
"image/png",
737737
"image/gif",
738738
"image/svg+xml",
739+
"image/webp",
739740
];
740741
const isImage = (ext: string) => ACCEPTED_IMG_TYPE.includes(ext);
741742
const isCustomArrowShape = (shape: TLShape) => {

0 commit comments

Comments
 (0)