Closed natcohen closed 7 years ago
@natcohen could you please make a jsFiddle for it?
@stefanneculai AFAIK, it is impossible to use froala in jsFiddle due to activation key! Please provide a jsFiddle base with froala configured (with image support) and I can show it to you...
@natcohen https://codepen.io/Froala/pen/PpgxGL
Ok go here: https://codepen.io/anon/pen/MvmQod
Expected behavior.
Copying an image from one froala editor to another one should trigger the beforeUpload event
Actual behavior.
Copying an image from one froala editor to another doesn't trigger the beforeUpload event
Steps to reproduce the problem.
I transform my uploaded images to base64 following this toturial and it works well. I have two froala editors on the same page and whenever I copy one image (ctrl-c/cmd-c) from one froala editor to the other, the copied image is not base64. I concluded that it copying/pasting doesn't trigger the beforeUpload event.
OS.
OSX
Browser.
Chrome