-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Images not imported from word #2800
Comments
Hello, I can reproduce the issue. Images are available via RTF, so it probably should be possible to fetch them. |
Hi, thanks for the quick turn around... When you say images are available via RTF, do you mean there should be a workaround I should implement so my users can import them? If this is the case, can you guide me to it? |
I mean that the issue can be probably fixed by CKEditor. I'm sorry but I cannot provide any viable workaround right now. If we will be able to fix the issue it will be available by updating CKEditor to the newer version (the one containing bug fix). Currently, I can only recommend keeping eye on this ticket for more updates. |
Got it, thanks... |
Any update on this issue? |
@jacekbogdanski is it possible that 63 images is simply too much for browser or CKEditor code to handle and there is some simply silent error being thrown? If it works for part of the document it should also work for the whole. If you limit this document to first 5 pages and paste it as a whole, everything will work as expected so it really looks to me like some silent out of memory case. |
Pasting so many images will certainly have an impact on the performance and may result in some incorrect behavior or even freeze the browser. I would rather say it's not caused by some implementation error but as you wrote out of memory issue. Bear in mind that some images may weight a couple of MB. |
Here is some other document for which images don't get pasted at all when you paste text and image together: Document for CKEditor - Copy.zip |
I have seen that when pasting some charts or images from excel to word and then pasting same images from word to ckeditor will not work some time. |
This issue is caused by the fact that we have a mechanism which checks if number of images extracted from RTF is the same as and so in the document for which this issue was reported there are 31
but only 29 images extracted from RTF. There are 2 images less extracted from RTF, because 2 images are in There is also a different case when number of RTF images is greater than |
We are experiencing similar issue and I am attaching the sample document where the issue is happening for us. |
Hello @zoarif, |
Ckeditor version: 4.11.4
Browser: Chrome
MS Word:
[A screenshot of a cell phone Description automatically generated]
|
Hi, here is a very simple RTF document created with WordPad, containing only one line of text and an image. Documento.rtf.zip The behavior is the same, after copying from WordPad, then ctrl + v, it only pastes the text, but not the image. The original image is one of the sample images that came by default on Windows 7.
|
@jacekbogdanski We are very pleased that you have solved the problem of copying and pasting the word under linux(issue #3629), but when can you solve this problem of losing pictures when pasting a lot of picture text in word? |
Unfortunately, we didn't fix the issue on Linux, it has been closed due to duplication. We are concerned about the bug as it looks like it touches many users, so it has been added to |
On Linux this works as expected, at least by copying/pasting from LibreOffice, the bug only exists on Windows. |
@jacekbogdanski Thank you very much for your prompt reply. We sincerely hope that the problem can be solved soon. This problem appears in the windows environment, and bothered us for a long time. The other details of the problem I have are as follows: |
The case might sound trivial, however, it has hidden fragile logic. That's why it would require good testing and work with caution.
This is a quite simple solution, which is sufficient in most common cases. That's why I changed the workload to |
Hi @leonardorame,
PFW supports Microsoft Word application, not the WordPad. Your case is a new feature request for creating the plugin "Paste from WordPad". |
Type of report
Bug
Provide detailed reproduction steps (if any)
Note: extraPlugins: 'pastefromword,uploadimage,autogrow'
Expected result
What is the expected result of the above steps?
All images should be imported.
Actual result
Images are not imported and for each image I see in the browser dev tools:
Not allowed to load local resource: file:///C:/Users/myusername/AppData/Local/Temp/OICE_8ADC376A-A3BC-4902-B017-FA55C2ECFE10.0/msohtmlclip1/01/clip_image028.png
This happens for all 63 images.
Other details
68554-Document.docx
Note: if only part of the document is selected, it may work, if all is selected, they are not imported...
Other issues which mention Paste From MS Word and images problems: #3972, #3937, #3782, #3781, #2675, #2516, #1345, #1134
The text was updated successfully, but these errors were encountered: