You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the ImageExtension and it generally works great. However, I've encountered an edge case where it's unable to parse images from content being pasted into the editor.
I handle copy/pasted images and upload them to my server like so:
When I paste just a single image, it recognizes the file type as an image and calls the uploadHandler as expected. However, if I paste text content along with some images, the uploadHandler never gets called, and the embedded image will use the URL from the source location.
Is there a way to ensure uploadHandler gets called when images are pasted along some text content?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm using the ImageExtension and it generally works great. However, I've encountered an edge case where it's unable to parse images from content being pasted into the editor.
I handle copy/pasted images and upload them to my server like so:
When I paste just a single image, it recognizes the file type as an image and calls the uploadHandler as expected. However, if I paste text content along with some images, the uploadHandler never gets called, and the embedded image will use the URL from the source location.
Is there a way to ensure
uploadHandler
gets called when images are pasted along some text content?Beta Was this translation helpful? Give feedback.
All reactions