ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.65k stars 3.71k forks source link

Paste image from Word doesn't work with copied content using select all #16765

Open eggleee opened 4 months ago

eggleee commented 4 months ago

📝 Provide detailed reproduction steps (if any)

When copying text with images from MS Word or .rtfd and pasting it into CKEditor, only the text gets copied, and the images are left out.

✔️ Expected result

I would like to paste everything, including the images.

❌ Actual result

only the text gets copied, and the images are left out.

https://github.com/user-attachments/assets/055e89fc-d286-4d1e-b282-4206ab2b72a4

📃 Other details

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Witoso commented 4 months ago

Could you paste the clipboard content and share an example doc? It's possible that we don't have access to those images or they are in an unsupported by browser format.

eggleee commented 4 months ago

This is a sample file. test.docx

Could you paste the clipboard content and share an example doc? It's possible that we don't have access to those images or they are in an unsupported by browser format.

Witoso commented 2 months ago

Works with partial selection, doesn't with select all: ctrl+a.

Clipboard:

Maybe rel: #16397