fix(email): retain inline image selections before input reset

This commit is contained in:
red person
2026-10-28 07:34:10 +03:00
parent 0f8b137713
commit 1c5853003e
10 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -5928,7 +5928,7 @@ import { attachColorPicker } from './colorPicker.js?v=20260910eyedropper1';
}
async function _handleMarkdownImageUpload(e) {
const files = e.target.files;
const files = Array.from(e.target.files || []);
e.target.value = '';
await _uploadMarkdownImages(files);
}