froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.28k stars 672 forks source link

Copy paste image does not work #4065

Closed hamusi closed 2 years ago

hamusi commented 3 years ago
Expected behavior.

Pasted image from clipboard is uploaded to server, and then shown.

Actual behavior.

Uncaught ReferenceError: replace is not defined is thrown and image is pasted as base64

Steps to reproduce the problem.

Open Froala Editor demo on your pages and try to paste image from clipboard

Editor version.

3.2.2

OS.

macOS Catalina 10.15.7

Browser.

(Browser name an version here) Google Chrome 85.0.4183.121

Recording.

(A recording showing how to reproduce the problem)

dkharlan commented 3 years ago

I'm also seeing this error, both on Chromium 83.0.4103.116 and Firefox 81.0.2.

Nice2Work commented 3 years ago

Yes seeing this as well, not sure how to fix this. And yes I do have the paid version. This happens when you copy/paste an image into the editor.

plugins.pkgd.min.js?2458:7 Uncaught ReferenceError: replace is not defined at Ze (plugins.pkgd.min.js?2458:7) at HTMLImageElement.eval (plugins.pkgd.min.js?2458:7) at v.each (froala_editor.min.js?3a37:7) at b.Bootstrap.et (plugins.pkgd.min.js?2458:7) at Object.C [as trigger] (froala_editor.min.js?3a37:7) at FileReader.tt (plugins.pkgd.min.js?2458:7)

chille1987 commented 3 years ago

Anyone manage to solve this? I'm experiencing the same issue on latest version of froala.

krissce commented 3 years ago

This bug is since version 3.1.1 and it's still not fixed! Froala wake up.

ostrui commented 2 years ago

Does anyone have a solution?

ilyaskarim commented 2 years ago

Fixed in V3.2.5 https://froala.com/wysiwyg-editor/changelog/#3.2.5