Skip to content
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

Paste from word not working on Firefox Windows (works on Linux) #3629

Closed
leonardorame opened this issue Nov 5, 2019 · 8 comments
Closed
Labels
resolution:duplicate A duplicate of an already reported issue. type:bug A bug.

Comments

@leonardorame
Copy link

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Create a simple Word or Wordpad document containing text and one image. For example this:

image

  1. Select all and copy to clipboard.
  2. Open a CKEditor on Firefox Windows, in my case Firefox Quantum 70.0.1 64bit
  3. Click on the Paste From Word icon and Ctrl + v to paste. The result doesn't show the image, as you can see:

image

Expected result

The resulting paste should include the image, as the original document.

Actual result

As shown in step 4.

Other details

  • Browser: Firefox Quantum 70.0.1
  • OS: Windows 7
  • CKEditor version: 4.13
  • Installed CKEditor plugins: CKEditor Standard Package.
@leonardorame leonardorame added the type:bug A bug. label Nov 5, 2019
@jacekbogdanski jacekbogdanski self-assigned this Nov 6, 2019
@jacekbogdanski
Copy link
Member

As far as I know, paste dialog opens only on mobile devices and the only exception is when you are using a touch screen on a laptop. Could you confirm that you are using touch screen to reproduce issue steps?

@jacekbogdanski jacekbogdanski removed their assignment Nov 6, 2019
@leonardorame
Copy link
Author

leonardorame commented Nov 6, 2019 via email

@jacekbogdanski
Copy link
Member

Thanks, but it's more about if you are using touch screen to reproduce the issue or do you have a custom configuration that forces clipboard dialog?

@leonardorame
Copy link
Author

Why do you insist about touch?, I'm using a desktop PC, nothing related to touch. I just click on Paste from Word and that dialog appears. But even if I press ctrl+v the document is pasted WITHOUT IMAGES, just the text from Word.

@jacekbogdanski
Copy link
Member

Because only touch devices are handled by clipboard dialog, which is visible on the screenshot you provided. The dialog shouldn't appear on button click using a mouse. In that case, could you provide a demo (e.g. using https://codepen.io) with the issue, where dialog can be opened using desktop PC?

Such a case overall shouldn't exist, as you shouldn't be able to open clipboard dialog. CTRL/CMD+V should correctly work here without opening a dialog. You can see correct behavior on the same browser (Windows7, latest Firefox) you provided:

clipboard

Leaving aside Word content, you can see on the attached gif that clicking buttons show up a notification about CTRL + V shortcuts.

@leonardorame
Copy link
Author

Ok, the dialog appears to have been there since an older version of CKEditor, now I completely wiped out the ckeditor directory and installed it again.

Now the dialog does not show (I get the message "Press Ctrl+V to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option." exactly as your animated gif), but the main issue (images in a Word/Wordpad document not copied) isn't working.

@leonardorame
Copy link
Author

leonardorame commented Nov 12, 2019

I made this video from a Windows 7 PC, using Firefox Quantum 70.0.1 and the example from CKEditor 4.13:

file

As you can see, when I try to paste the copied selection only the text is pasted, but not the image.

@jacekbogdanski
Copy link
Member

Thanks for clarifying that. We have already reported ticket for the issue with PFW images and as we already know that the issue is not connected to clipboard dialog, please follow #2800 issue for more information about image support. It would be nice if you could share there your Word document which is not correctly handled by Paste From World plugin, so we can test issue fix using your sample also.

@jacekbogdanski jacekbogdanski added resolution:duplicate A duplicate of an already reported issue. and removed status:pending labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate A duplicate of an already reported issue. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants