mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: upload image in iOS safari
This commit is contained in:
@ -227,9 +227,9 @@ const MemoEditor: React.FC<Props> = () => {
|
|||||||
editorRef.current?.insertText(``);
|
editorRef.current?.insertText(``);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
document.body.removeChild(inputEl);
|
||||||
};
|
};
|
||||||
inputEl.click();
|
inputEl.click();
|
||||||
document.body.removeChild(inputEl);
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const handleFullscreenBtnClick = () => {
|
const handleFullscreenBtnClick = () => {
|
||||||
|
@ -84,10 +84,10 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.body.removeChild(inputEl);
|
||||||
await fetchResources();
|
await fetchResources();
|
||||||
};
|
};
|
||||||
inputEl.click();
|
inputEl.click();
|
||||||
document.body.removeChild(inputEl);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const handlPreviewBtnClick = (resource: Resource) => {
|
const handlPreviewBtnClick = (resource: Resource) => {
|
||||||
|
Reference in New Issue
Block a user