Manual translation composer does not support image upload or paste (console: this.drop is not a function)
Description: When editing a post’s manual localization via “Translate → Edit localization manually”, the translation composer does not allow image uploads or pasting images.
Steps to reproduce:
Open any post with the Discourse Translation feature enabled.
Click the “Translate” button → choose “Edit localization manually.”
Try to:
drag an image into the translation composer, or
paste an image from clipboard.
Nothing happens — uploads are ignored, and the browser console shows errors.
Observed behavior:
Image upload and paste do not work.
Console errors:
Uncaught TypeError: this.drop is not a function at Object.handleEvent (content.js:1)
and
PresenceChannel '/discourse-presence/undefined/...' not found
Indicates missing drop handler and topic_id context in post-translation-editor.gjs.
Expected behavior:
Allow uploads/pasting like the normal composer for translated image.
Notes: Seems the translation composer runs in a simplified editor context without composer-upload integration. A fix could be adding upload handling.
I think he means that the original post has images, and the translated version (manually via the composer) also needs them so he is trying to also upload the same images there.
It’s a fundamental problem, as only the original posts can hold upload references.