by JoelBesada · 14y ago · 0 comments
In Firefox a contenteditable div is used to catch pasted content, when images are pasted an img tag with base64 encoded image data is inserted, which is easy to just grab and display. Unfortunately, this doesn't work in Safari.
Because Safari seems to support all the needed APIs, it's hard to detect and inform the user that copy and paste doesn't work. I'd rather not do any browser sniffing.
No comments yet.