Skip to content

fix(TextEditor): Could not find image node with uploadId#583

Closed
krantheman wants to merge 1 commit intomainfrom
fix-image-upload
Closed

fix(TextEditor): Could not find image node with uploadId#583
krantheman wants to merge 1 commit intomainfrom
fix-image-upload

Conversation

@krantheman
Copy link
Member

When pasting images without typing or making immediate edits, the image src remains as base64 instead of being updated to the uploaded file URL.

This is caused because the content watcher calls setContent() while images are still uploading, destroying image nodes with uploadId references before the upload callback can update them with the final file URL.

Adding a check to skip setContent() calls when images have the loading attribute fixes the issue.

@safwansamsudeen
Copy link
Contributor

@krantheman as discussed this is likely not the real problem. Can we close?

@krantheman
Copy link
Member Author

Alright, closing this for now

@krantheman krantheman closed this Feb 24, 2026
@krantheman krantheman deleted the fix-image-upload branch February 24, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants