mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-04 19:44:43 +01:00
feat: Added Copy/Paste from Google Docs (#7136)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@@ -727,7 +727,7 @@ describe("freedraw", () => {
|
||||
describe("image", () => {
|
||||
const createImage = async () => {
|
||||
const sendPasteEvent = (file?: File) => {
|
||||
const clipboardEvent = createPasteEvent("", file ? [file] : []);
|
||||
const clipboardEvent = createPasteEvent({}, file ? [file] : []);
|
||||
document.dispatchEvent(clipboardEvent);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user