- 25 Aug, 2026 1 commit
-
-
Lê Bảo Hồng Đức authored
Jodit sends files as files[0], files[1], ... (from filesVariableName(i) returning `files[${i}]`), not files[] as previously assumed. The buildData callback only matched "files[]" so the actual file field was passed through as-is, triggering MulterError: Unexpected field because backend multer.single("file") only accepts a field named "file". Fix buildData to: - Match files[0], files[1], ... pattern and convert first file to "file" - Drop extra files (multer.single only accepts one) - Drop Jodit-internal fields (source, extension, mimetype) backend ignores Generated with [Devin](https://devin.ai) Co-Authored-By:Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
-
- 24 Aug, 2026 3 commits
-
-
Lê Bảo Hồng Đức authored
The Jodit uploader was posting to /files but the backend route is /api/v1.0/file/upload (auto-mounted from controllers/api/v1.0/file/ upload.ts). This caused a 404 when uploading images from the editor. Generated with [Devin](https://devin.ai) Co-Authored-By:
Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
-
Lê Bảo Hồng Đức authored
Use JoditEditor's editorRef callback to attach the native paste listener to the correct HTMLElement (jodit.editor) instead of casting the IJodit instance to HTMLElement, which caused "t.addEventListener is not a function" runtime error. Also resolve uploaded image URLs via resolveUploadUrl so previews render inside the editor, and ignore the Windows reserved-name "nul" file. Generated with [Devin](https://devin.ai) Co-Authored-By:
Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
-
Lê Bảo Hồng Đức authored
-
- 21 Aug, 2026 1 commit
-
-
Lê Bảo Hồng Đức authored
-
- 13 Aug, 2026 4 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
- 11 Aug, 2026 4 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
- 10 Aug, 2026 4 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
- 07 Aug, 2026 1 commit
-
-
Lê Bảo Hồng Đức authored
-
- 06 Aug, 2026 6 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
- 23 Jun, 2026 3 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Vũ Đình Nguyên authored
-
- 16 Jun, 2026 13 commits
-
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Lê Bảo Hồng Đức authored
-
Dương Nhật Khoa authored
-
Dương Nhật Khoa authored
-