-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text with images pasted from Word 2016 doesn't preserve images. #11993
Comments
I don't see it as a regression. This is rather specific to this document of that type of documents. I based that on client comments:
--
According to the client "Even if I copy paste contents from old word file to new one – Don’t see a issue" but this is a weak workaround as not everyone has multiple MS word versions and the online one is not yet supported. I personally haven't found any "trick" to get this working. -- It can be related to #2493 because from what we have checked, this file has been created with MS Word 2016 as well. |
This is the content of the pasted clipboard from attached document: old.txt The new one encodes images as: <!--[if gte vml 1]>... <v:shape ...><v:imagedata src="file:///Path.jpg" /></v:shape><![endif]-->
<![if !vml]><img src="file:///Path.jpg"><![endif]>
The old format is just: <v:shape ...><v:imagedata src="file:///Path.jpg" /></v:shape> |
@mdabkowska88 - Any update on this ? |
|
Fix (paste-from-office): Fixes pasting images from MS Word 2016. Closes #11993.
Closed as mentioned in #2493 (comment) |
📝 Provide detailed reproduction steps (if any)
copy_paste_image_+_text.docx.zip
✔️ Expected result
Image with text gets pasted.
❌ Actual result
Only text gets pasted.
❓ Possible solution
If you have ideas, you can list them here. Otherwise, you can delete this section.
📃 Other details
From what we have checked, this MS Word file has been created with MS Word 2016 - https://superuser.com/a/1144401
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: