feat: enhance sanitization

This commit is contained in:
alam00000 committed 2026-04-17 23:40:39 +05:30
1 parent d92ee1a003
commit b4779bb49b
35 files changed
+2703 -1240

No files matched your search

+9
View File
@@ -193,6 +193,15 @@ function initializeTool() {
document
.getElementById('pdf-file-input')
?.addEventListener('change', handlePdfUpload);
document.getElementById('upload-area')?.addEventListener('click', () => {
document.getElementById('pdf-file-input')?.click();
});
document
.getElementById('pdf-file-input-select-btn')
?.addEventListener('click', (e) => {
e.stopPropagation();
document.getElementById('pdf-file-input')?.click();
});
document
.getElementById('insert-pdf-input')
?.addEventListener('change', handleInsertPdf);