JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.77k stars 316 forks source link

Paste from word doesn't work with images and texts together #1438

Open davidebaldassini opened 2 months ago

davidebaldassini commented 2 months ago

Describe the bug I want to copy and paste a text (with at least one image) from Microsoft word. The output is not the same as in Word and the image is not pasted

To Reproduce Steps to reproduce the behavior:

  1. Write a text in Microsoft Word with at least one image
  2. Copy it
  3. Paste it inside sunEditor

Expected behavior See the pasted text identical to what written in Microsoft Word

Screenshots

Microsoft word (what I want to copy): image

My sunEditor (the target): image

Desktop (please complete the following information):

Additional context The bug was originally found on suneditor-react ([https://github.com/mkhstar/suneditor-react/issues/363]), but it is present also on suneditor (now I'm using it)

FlavioMH commented 1 day ago

Any news about this?