-
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>
d75b3139