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

Content pasted from Word document in read-only mode sometimes losses styling/formatting #4694

Open
sculpt0r opened this issue May 12, 2021 · 5 comments
Labels
browser:ie11 The issue can only be reproduced in the Internet Explorer 11 browser. plugin:pastefromword The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@sculpt0r
Copy link
Contributor

sculpt0r commented May 12, 2021

Type of report

Failing test

Provide detailed reproduction steps (if any)

  1. Try to paste the second docx in readonly mopde (CKEditor4.PFW.Sample.Mixed_styles) from tests/plugins/pastefromword/manual/pastefromword

Expected result

The pasted content should look the same as in MSWord

Actual result

There is no style applied to pasted text

Other details

The first sample was pasted as expected

  • Browser: IE11
  • OS: Windows 10
  • CKEditor version: 4.16.1
  • Installed CKEditor plugins: -
@sculpt0r sculpt0r added status:confirmed An issue confirmed by the development team. browser:ie11 The issue can only be reproduced in the Internet Explorer 11 browser. plugin:pastefromword The plugin which probably causes the issue. type:failingtest A failing test. labels May 12, 2021
@f1ames
Copy link
Contributor

f1ames commented May 14, 2021

It seems to be working for me (IE11 on Windows 10) 🤔 Could you take a look on a gif below and tell if those are the exact same steps to reproduce the issue?

Animation

@sculpt0r
Copy link
Contributor Author

sculpt0r commented May 17, 2021

My steps were the same. I even rebuild the entire 4.16.1 and run the test again - with the same result...

I have Office Professional Plus 2016

pastefromword

@Dumluregn
Copy link
Contributor

Did you try copying after turning off Widok chroniony in Word? Maybe it restricts the content in the clipboard?

@sculpt0r
Copy link
Contributor Author

sculpt0r commented May 18, 2021

I thought I tested it with and without editing enabled and it failed... But now, the second sample looks fine after editing is ON. However, the first sample works fine with editing OFF 🤔

So, should we close this issue?

@f1ames
Copy link
Contributor

f1ames commented May 18, 2021

I thought I tested it with and without editing enabled and it failed... But now, the second sample looks fine after editing is ON. However, the first sample works fine with editing OFF

So, should we close this issue?

Interesting... we could keep it open for future reference but let's adjust a title. OTOH I would say it's upstream then 🤔

Let's leave it open and se if anyone else encounters similar issues.

@f1ames f1ames changed the title Failing test: tests/plugins/pastefromword/manual/pastefromword Content pasted from Word document in read-only mode sometimes losses styling/formatting May 18, 2021
@f1ames f1ames added type:bug A bug. and removed type:failingtest A failing test. labels May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser:ie11 The issue can only be reproduced in the Internet Explorer 11 browser. plugin:pastefromword The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

3 participants